summaryrefslogtreecommitdiff
path: root/portato/__init__.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-08-13 19:28:52 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-08-13 19:28:52 +0200
commitfe58a20450b2bcb757cad27cc81522050b511300 (patch)
treec8ab98ca204bb6e243dfe51ab258d225bc5ae414 /portato/__init__.py
parent4dade2c17002cc8cb3d2a99f6411feb59c4bf01e (diff)
downloadportato-fe58a20450b2bcb757cad27cc81522050b511300.tar.gz
portato-fe58a20450b2bcb757cad27cc81522050b511300.tar.bz2
portato-fe58a20450b2bcb757cad27cc81522050b511300.zip
Make epydoc happy
Diffstat (limited to 'portato/__init__.py')
-rw-r--r--portato/__init__.py6
1 files changed, 3 insertions, 3 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)