summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-03-20 00:33:32 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-03-20 00:33:32 +0100
commit9803bc511d8737703985fb00dddcafa7a687c574 (patch)
tree7b38e66a0e92a3226965d5bd006c15ce8200c04a /portato
parentabde20daebee82abb754835d6f7c309f7aea3819 (diff)
downloadportato-9803bc511d8737703985fb00dddcafa7a687c574.tar.gz
portato-9803bc511d8737703985fb00dddcafa7a687c574.tar.bz2
portato-9803bc511d8737703985fb00dddcafa7a687c574.zip
Rename strange 'PListener' to straightforward 'Listener'.
Diffstat (limited to '')
-rw-r--r--portato/__init__.py4
-rw-r--r--portato/listener.py (renamed from portato/plistener.py)4
2 files changed, 4 insertions, 4 deletions
diff --git a/portato/__init__.py b/portato/__init__.py
index 63fd494..f5d7f65 100644
--- a/portato/__init__.py
+++ b/portato/__init__.py
@@ -30,7 +30,7 @@ __listener = None
def get_listener():
global __listener
if __listener is None:
- from .plistener import PListener
- __listener = PListener()
+ from .listener import Listener
+ __listener = Listener()
return __listener
diff --git a/portato/plistener.py b/portato/listener.py
index 4a248ab..3d2dd53 100644
--- a/portato/plistener.py
+++ b/portato/listener.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# File: portato/plistener.py
+# File: portato/listener.py
# This file is part of the Portato-Project, a graphical portage-frontend.
#
# Copyright (C) 2006-2009 René 'Necoro' Neumann
@@ -23,7 +23,7 @@ except ImportError:
from .constants import APP
from .helper import debug, warning
-class PListener (object):
+class Listener (object):
"""This class handles the communication between the "listener" and the GUI.
This listener starts programs as the user while the GUI runs as root.