summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornecoro <>2007-03-31 20:52:14 +0000
committernecoro <>2007-03-31 20:52:14 +0000
commit5223b0ea180b7dbfd77ba52f1355328f1558c884 (patch)
treefe11027552edf5f18e92832dec76254b8d4016ea
parent3deaa2f6047c7b06540577d2985428019b774d8a (diff)
downloadportato-5223b0ea180b7dbfd77ba52f1355328f1558c884.tar.gz
portato-5223b0ea180b7dbfd77ba52f1355328f1558c884.tar.bz2
portato-5223b0ea180b7dbfd77ba52f1355328f1558c884.zip
Some small changes for etcproposals 1.1
-rw-r--r--portato/helper.py2
-rw-r--r--portato/plugins/etc_proposals.py4
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"])