org.guifications.plugins: 7cbb7160ad1e2cf4de07fcf5ed2c0d904a04d570
grim at guifications.org
grim at guifications.org
Fri May 9 22:15:11 CDT 2008
-----------------------------------------------------------------
Revision: 7cbb7160ad1e2cf4de07fcf5ed2c0d904a04d570
Ancestor: 94868b647480ed33f6b31b2c9de3cd1faa574c43
Author: grim at guifications.org
Date: 2008-05-10T03:10:50
Branch: org.guifications.plugins
Modified files:
plugin_pack.py
ChangeLog:
Error checking is good...
-----------------------------------------------------------------
This revision's diffstat output:
plugin_pack.py | 4 ++++
1 file changed, 4 insertions(+)
-------------- next part --------------
============================================================
--- plugin_pack.py bb9201c9734377ebdef5b2ec9d68751407f12088
+++ plugin_pack.py 12596cabd2ea891351ccc08a8b9ac7986aa6ca90
@@ -380,6 +380,10 @@ class PluginPack:
def show_names(self, args):
"""Displays the names of the given comma separated list of provides"""
+ if len(args) == 0 or len(args[0]) == 0:
+ printerr('show_names expects a comma separated list of provides')
+ sys.exit(1)
+
provides = args[0].split(',')
if len(provides) == 0:
print "none"
More information about the Plugins-commits
mailing list