Hi everyone,
    in the last days i've been preparing debian (and by extension
ubuntu) packages for quantum. They should be ready by the end of the
week (I hope), and my idea is to produce new pkgs weekly for easy
testing.
    In the mean while, find attached a very small patch, needed for
quantum to work properly once installed. (It can be done better and
cleaner, but i wanted it to be the least disruptive possible)

Regards,

    Ghe Rivero


-- 
 .''`.  Pienso, Luego Incordio
: :' :
`. `'
  `-    www.debian.org    www.hispalinux.es

GPG Key: 26F020F7
GPG fingerprint: 4986 39DA D152 050B 4699  9A71 66DB 5A36 26F0 20F7
diff --git a/bin/quantum b/bin/quantum
index 6490474..23389c8 100755
--- a/bin/quantum
+++ b/bin/quantum
@@ -20,7 +20,12 @@
 # it will override what happens to be installed in /usr/(local/)lib/python...
 
 import __init__
-import source_environment
+
+try:
+    import source_environment
+except ImportError:
+    pass
+
 from quantum.cli import main as cli
 
 cli()
diff --git a/bin/quantum-server b/bin/quantum-server
index d6b9fbe..51e7d24 100755
--- a/bin/quantum-server
+++ b/bin/quantum-server
@@ -20,7 +20,12 @@
 # it will override what happens to be installed in /usr/(local/)lib/python...
 
 import __init__
-import source_environment
+
+try:
+    import source_environment
+except ImportError:
+    pass
+
 from quantum.server import main as server
 
 server()
-- 
Mailing list: https://launchpad.net/~netstack
Post to     : netstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~netstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to