From 5223b0ea180b7dbfd77ba52f1355328f1558c884 Mon Sep 17 00:00:00 2001 From: necoro <> Date: Sat, 31 Mar 2007 20:52:14 +0000 Subject: Some small changes for etcproposals 1.1 --- portato/helper.py | 2 +- portato/plugins/etc_proposals.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'portato') 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"]) -- cgit v1.2.3