Specify full filename path; don't rely on default behavior of sfi.py
Andy Bavier [Wed, 1 Sep 2010 19:43:18 +0000 (15:43 -0400)]
SfaData.py

index 953179c..c0bdf5b 100644 (file)
@@ -66,7 +66,7 @@ class SfaData:
             pass
         call(["sfi.py", "-u", self.getUser(), "-a", self.getAuthority(), 
               "-r", self.registry, "-s", self.slicemgr, "resources", 
-              "-o", slice, slice])
+              "-o", filename, slice])
         f = open(filename, "r")
         xml = f.read()
         f.close()