back to 2.4 compatibility sipb-xen-base/8.7
authorGreg Price <price@mit.edu>
Mon, 28 Jul 2008 11:45:40 +0000 (07:45 -0400)
committerGreg Price <price@mit.edu>
Mon, 28 Jul 2008 11:45:40 +0000 (07:45 -0400)
Not dealing right now with a comprehensive upgrade.

svn path=/trunk/packages/sipb-xen-base/; revision=766

debian/changelog
files/usr/share/python-support/sipb-xen-base/.version [deleted file]
files/usr/share/python-support/sipb-xen-base/invirt/config.py

index c3ab1bd..b3a8ae3 100644 (file)
@@ -1,3 +1,9 @@
+sipb-xen-base (8.7) unstable; urgency=low
+
+  * back to 2.4 compatibility
+
+ -- Greg Price <price@mit.edu>  Mon, 28 Jul 2008 07:44:27 -0400
+
 sipb-xen-base (8.6) unstable; urgency=low
 
   * switching to python 2.5 only
diff --git a/files/usr/share/python-support/sipb-xen-base/.version b/files/usr/share/python-support/sipb-xen-base/.version
deleted file mode 100644 (file)
index 95e3ba8..0000000
+++ /dev/null
@@ -1 +0,0 @@
-2.5
index 37fafb4..ea4bf4e 100644 (file)
@@ -1,4 +1,3 @@
-from __future__ import with_statement
 import yaml
 
 default_path = '/etc/invirt/master.yaml'
@@ -7,7 +6,6 @@ try:    default_loader = yaml.CSafeLoader
 except: default_loader = yaml.SafeLoader
 
 def load( path = default_path ):
-    with file( path ) as f:
-        return yaml.load( f, default_loader )
+    return yaml.load( file(path), default_loader )
 
 # vim:et:sw=4:ts=4