Commit graph

2440 commits

Author SHA1 Message Date
Michael Schwarz
8cc55723de setup.py: Print error message and usage when no or multiple commands are given on the command line. 2014-09-08 21:51:26 +02:00
Michael Schwarz
b9e9f00503 setup.py: Moved docstrings into the associated functions. 2014-09-07 19:34:20 +02:00
Mattias Andrée [mˈa.tːiː.ˌas ˈanː.drˌeː]
6a6fcbfe3f Merge pull request #206 from Feuermurmel/bugfixes
Fixing stuff I broke.
2014-08-30 14:42:38 +00:00
Michael Schwarz
8861e0bb0e lists.onelist(): Instead of passing multiple, possibly empty lists, build the list of directories to search before calling the method. 2014-08-30 12:44:29 +02:00
Michael Schwarz
5125dd6400 Fixed TypeError when running ponysay --altlist.
Traceback (most recent call last):
	  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/runpy.py", line 170, in _run_module_as_main
		 "__main__", mod_spec)
	  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/runpy.py", line 85, in _run_code
		 exec(code, run_globals)
	  File "./venv/bin/ponysay/__main__.py", line 154, in <module>
	  File "./venv/bin/ponysay/ponysay.py", line 252, in run
	  File "./venv/bin/ponysay/ponysay.py", line 753, in linklist
	  File "./venv/bin/ponysay/lists.py", line 143, in linklist
	  File "./venv/bin/ponysay/lists.py", line 104, in _get_file_list
	TypeError: listdir: illegal type for path parameter

This bug was introduced in this commit:

	list.py: Extracted duplicate code for listing files in a directory into a utility function.
2014-08-30 12:44:28 +02:00
Michael Schwarz
cc9a4f4324 Fixed TypeError when running ponysay --onelist.
Traceback (most recent call last):
	  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/runpy.py", line 170, in _run_module_as_main
		 "__main__", mod_spec)
	  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/runpy.py", line 85, in _run_code
		 exec(code, run_globals)
	  File "venv/bin/ponysay/__main__.py", line 154, in <module>
	  File "venv/bin/ponysay/ponysay.py", line 248, in run
	  File "venv/bin/ponysay/ponysay.py", line 765, in onelist
	  File "venv/bin/ponysay/lists.py", line 210, in onelist
	  File "venv/bin/ponysay/lists.py", line 210, in <listcomp>
	  File "venv/bin/ponysay/lists.py", line 104, in _get_file_list
	TypeError: listdir: illegal type for path parameter

This bug was introduced in this commit:

	list.py: Extracted duplicate code for listing files in a directory into a utility function.

I fixed the problem by removing the requirement for lists.onelist() to accept None for directory lists that should not be searched.
2014-08-30 12:44:09 +02:00
Mattias Andrée [mˈa.tːiː.ˌas ˈanː.drˌeː]
c077f08259 Merge pull request #205 from Feuermurmel/list-fix
Refactoring in the lists module and fix of #198
2014-08-29 20:12:10 +00:00
Mattias Andrée [mˈa.tːiː.ˌas ˈanː.drˌeː]
88bc3c8ce1 Merge pull request #204 from Feuermurmel/list-refactor
Moved methods of class List to module level
2014-08-29 20:00:31 +00:00
Michael Schwarz
d57060a675 lists.py: Rewritten list formatting code.
- Split up into functions for distributing the items into columns and actual formatting and printing of the columns.
- Fixes printing when console is narrower than the longest name.
2014-08-29 21:35:58 +02:00
Michael Schwarz
c71a8a0a67 list.py: Extracted duplicate code for listing files in a directory into a utility function. 2014-08-29 21:35:58 +02:00
Michael Schwarz
63b852068d list.py: Removed unnecessary calls to gettermsize(). 2014-08-29 21:35:58 +02:00
Michael Schwarz
7767a7d9c1 list.py: Renamed list module to lists to avoid conflict with builtin. 2014-08-29 21:30:42 +02:00
Michael Schwarz
69461d20fc list.py: Moved static functions to module level. 2014-08-29 21:30:34 +02:00
Michael Schwarz
5e87dadc02 list.py: Removed unused import. 2014-08-29 21:27:50 +02:00
Mattias Andrée [mˈa.tːiː.ˌas ˈanː.drˌeː]
72f4fd7647 Merge pull request #202 from Feuermurmel/class-methods
Convert some methods of class Ponysay to class methods.
2014-08-27 19:50:57 +00:00
Mattias Andrée [mˈa.tːiː.ˌas ˈanː.drˌeː]
c9a635f344 Merge pull request #203 from Feuermurmel/setup
Automatically collect a list of Python source files to add to the distribution.
2014-08-27 19:46:47 +00:00
Michael Schwarz
b2e597fdc2 ponysay.py: Converted methods which are never called on an instances to class methods. 2014-08-26 23:35:31 +02:00
Michael Schwarz
4bdb42cf8e setup.py: Automatically collect a list of source files to distribute.
This will help with refactoring, where source files may be added and/or moved.
2014-08-26 23:33:28 +02:00
Michael Schwarz
45b53d6eb0 argument parsing: Fixed code path for parsing --colour-pony accessing an undefined variable. 2014-08-24 18:34:29 +02:00
Pablo Lezaeta
57c9775e29 Added Grace Manewitz
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-08-23 23:46:15 -04:00
Pablo Lezaeta
f9fa2636e8 Added symlink for rarity dad name
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-08-23 23:19:21 -04:00
Pablo Lezaeta
38ec1f56c0 Symlink for rarity mom name
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-08-23 23:12:23 -04:00
Pablo Lezaeta
733ffff0e1 Fix infopage for real
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-08-20 02:14:12 -04:00
Pablo Lezaeta
aeeb41db7f Fix infopage
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-08-20 02:12:40 -04:00
Pablo Lezaeta
bf3c1f8efa Added AuntOrange and move Orange to UncleOrange
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-08-20 01:22:06 -04:00
Pablo Lezaeta
712942bc55 Post release changes
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-08-19 19:46:31 -04:00
Pablo Lezaeta
f6e523c421 Concistency with all the other OS and added the alternate name too
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-08-18 16:58:56 -04:00
Pablo Lezaeta
a42c861a38 Added PDF Manual updating for preparing to Next release
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-08-18 15:43:06 -04:00
Pablo Lezaeta
50e3d6597a make executables so I not get this error
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-08-18 02:35:39 -04:00
Pablo Lezaeta
227f6cf801 Added ArchLinuxPony
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-08-18 02:30:22 -04:00
Pablo Lezaeta
50abe0d014 Added Ahuzotl
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-06-30 19:30:07 -04:00
Pablo Lezaeta
417d634bdc stupid "", in spanish these are «»
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-06-24 14:32:09 -04:00
Pablo Lezaeta
56b4317b83 Update spanish pages
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-06-24 14:18:23 -04:00
Pablo Lezaeta
5239a3c9f5 Fix permision for executables... I think we need aome tool for those cases like this
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-06-10 01:52:12 -04:00
Pablo Lezaeta
4315e59386 Stupid permission and stupid btrfs snapshots
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-06-10 01:35:58 -04:00
Pablo Lezaeta
d7c027b687 Added Ask-King-Sombra cast
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-06-10 01:26:00 -04:00
Pablo Lezaeta
9a3441ef43 improve kingley using the colors from they ref
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-05-27 00:01:45 -04:00
Pablo Lezaeta
043e7d228c Merge branch 'master' of http://github.com/erkin/ponysay 2014-05-20 00:09:37 -04:00
Pablo Lezaeta
736a18dfc8 Update PDF
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-05-19 22:29:39 -04:00
Pablo Lezaeta
ed9a737318 Added Kingsley from Ask-king-sombra (long noise included)
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-05-19 22:25:47 -04:00
Mattias Andrée
b039ae9919 Add Spike's title Crystal Empire title
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-15 01:40:18 +02:00
Pablo Lezaeta
f5c32370a5 Added Breeze info to infopage, I thing that list could be usefull to solve my proposal in the issue but, where move it?
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-05-13 00:47:01 -04:00
Pablo Lezaeta
6a2b39f22f Changed pipsqueak so now the canonici is done
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-04-29 02:06:44 -04:00
Pablo Lezaeta
6bdaa4ef1e Added Seabreeze and MaudePie
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-04-29 01:38:55 -04:00
Mattias Andrée [mˈa.tːiː.ˌas ˈanː.drˌeː]
b2e3d28da9 Merge pull request #193 from Vincent-C/master
Update Debian and Ubuntu package repository addresses
2014-04-28 10:27:17 +00:00
Vincent Cheng
72951b8534 Update Debian and Ubuntu package repository addresses 2014-04-28 02:37:56 -07:00
Mattias Andrée
dbdbeb3141 Fix issue 192: Broken README.md links
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-04-20 21:07:11 +02:00
Pablo Lezaeta
16aaeba5dc misplaced l
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-04-17 03:28:30 -03:00
Pablo Lezaeta
73be2e42d1 Manticore official name
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
2014-04-17 03:25:41 -03:00
Pablo Lezaeta
4056e6114b update history list
Signed-off-by: Pablo Lezaeta <ct@localhost.localdomain>
2014-04-17 02:29:18 -03:00