summaryrefslogtreecommitdiff
path: root/portato/plistener.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--portato/plistener.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/portato/plistener.py b/portato/plistener.py
index a96f4b2..eb12606 100644
--- a/portato/plistener.py
+++ b/portato/plistener.py
@@ -17,11 +17,6 @@ from subprocess import Popen
from gettext import lgettext as _
try:
- import shm_wrapper as shm
-except ImportError:
- from portato.shm import shm_wrapper as shm
-
-try:
import pynotify
except ImportError:
pynotify = None
@@ -95,6 +90,11 @@ class PListener (object):
self._sig = None
self._rw = None
else:
+ try:
+ import shm_wrapper as shm
+ except ImportError:
+ from portato.shm import shm_wrapper as shm
+
self._mem = shm.SharedMemoryHandle(mem)
self._sig = shm.SemaphoreHandle(sig)
self._rw = shm.SemaphoreHandle(rw)
tions'>+25 2008-06-22Implemented the mail sendingRené 'Necoro' Neumann2-3/+63 2008-06-22First mail window draftRené 'Necoro' Neumann3-0/+220 2008-06-10Added gpytage pluginRené 'Necoro' Neumann2-0/+29 2008-06-10Modified plugin.xsd so it allows also menu-only pluginsRené 'Necoro' Neumann2-7/+8 2008-06-10Fixed the default handlingRené 'Necoro' Neumann1-1/+1 2008-06-10Allowed default for session; load 'app-portage/portato' as default for select...René 'Necoro' Neumann2-10/+18 2008-06-09Fixed 'kill' in the systray popupRené 'Necoro' Neumann1-2/+2 2008-06-09Fixed error messageRené 'Necoro' Neumann2-4/+1 2008-06-08Make blocks way more intelligentRené 'Necoro' Neumann3-45/+107