summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--portato/__init__.py6
-rw-r--r--portato/backend/system_interface.py4
2 files changed, 5 insertions, 5 deletions
diff --git a/portato/__init__.py b/portato/__init__.py
index 653329c..3343e24 100644
--- a/portato/__init__.py
+++ b/portato/__init__.py
@@ -18,7 +18,7 @@ import subprocess, threading
import atexit
from optparse import OptionParser, SUPPRESS_HELP
-from . import log
+from .log import start as logstart
from .constants import LOCALE_DIR, APP, VERSION
from .su import detect_su_command
from .helper import debug, info, error
@@ -61,7 +61,7 @@ def start():
gettext.install(APP, LOCALE_DIR, unicode = True)
# start logging
- log.start(file=False)
+ logstart(file=False)
# run parser
(options, args) = get_parser().parse_args()
@@ -70,7 +70,7 @@ def start():
atexit.register(get_listener().close)
if options.nofork or os.getuid() == 0: # start GUI
- log.start(file = True) # start logging to file
+ logstart(file = True) # start logging to file
from .gui import run
info("%s v. %s", _("Starting Portato"), VERSION)
diff --git a/portato/backend/system_interface.py b/portato/backend/system_interface.py
index 43de1ec..be79de2 100644
--- a/portato/backend/system_interface.py
+++ b/portato/backend/system_interface.py
@@ -108,8 +108,8 @@ class SystemInterface (object):
@param key: the key to look for
@type key: string
- @param all: the package set to use
- @type all: string
+ @param pkgSet: the package set to use
+ @type pkgSet: string
@param masked: if True, also look for masked packages
@type masked: boolean
@param with_version: if True, return CPVs - else CP