[nanny/win32: 14/75] NannyDbus only for posix's os



commit 8b2d7496fe24f5520700e38d78143384c1968778
Author: Roberto Majadas <roberto majadas openshine com>
Date:   Wed Sep 15 13:08:32 2010 +0200

    NannyDbus only for posix's os

 daemon/src/Daemon.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/daemon/src/Daemon.py b/daemon/src/Daemon.py
index 28e1f13..622b875 100644
--- a/daemon/src/Daemon.py
+++ b/daemon/src/Daemon.py
@@ -35,6 +35,7 @@ import os
 class Daemon :
     def __init__(self, app):
         self.quarterback = QuarterBack(app)
-        self.bus = NannyDBus(self.quarterback)
+        if os.name == "posix" :
+            self.bus = NannyDBus(self.quarterback)
         
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]