diff options
author | necoro <> | 2007-03-31 20:52:14 +0000 |
---|---|---|
committer | necoro <> | 2007-03-31 20:52:14 +0000 |
commit | 5223b0ea180b7dbfd77ba52f1355328f1558c884 (patch) | |
tree | fe11027552edf5f18e92832dec76254b8d4016ea /portato | |
parent | 3deaa2f6047c7b06540577d2985428019b774d8a (diff) | |
download | portato-5223b0ea180b7dbfd77ba52f1355328f1558c884.tar.gz portato-5223b0ea180b7dbfd77ba52f1355328f1558c884.tar.bz2 portato-5223b0ea180b7dbfd77ba52f1355328f1558c884.zip |
Some small changes for etcproposals 1.1
Diffstat (limited to '')
-rw-r--r-- | portato/helper.py | 2 | ||||
-rw-r--r-- | portato/plugins/etc_proposals.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/portato/helper.py b/portato/helper.py index 604f2c1..cef3537 100644 --- a/portato/helper.py +++ b/portato/helper.py @@ -85,7 +85,7 @@ def flatten (listOfLists): @param listOfLists: the list of lists to flatten @type listOfLists: list of lists @returns: flattend list - @rtyoe: list""" + @rtype: list""" return list(chain(*listOfLists)) diff --git a/portato/plugins/etc_proposals.py b/portato/plugins/etc_proposals.py index c76fef9..90f3f3f 100644 --- a/portato/plugins/etc_proposals.py +++ b/portato/plugins/etc_proposals.py @@ -38,7 +38,7 @@ def etc_prop (*args, **kwargs): if l > 0: Popen("etc-proposals") else: - Popen("etc-proposals --frontend gtk --fastexit") + Popen(["etc-proposals", "--frontend gtk", "--fastexit"]) def etc_prop_menu (*args, **kwargs): if not am_i_root(): @@ -47,4 +47,4 @@ def etc_prop_menu (*args, **kwargs): if float(__version__) < 1.1: Popen("etc-proposals") else: - Popen("etc-proposals --frontend gtk") + Popen(["etc-proposals", "--frontend gtk"]) |