From: Thierry Parmentelat Date: Tue, 7 Sep 2010 13:29:17 +0000 (+0200) Subject: oops X-Git-Url: http://git.onelab.eu/?p=sfa-gui.git;a=commitdiff_plain;h=babb929902ed6ce715bebe8d0a2d6bb5ac6a570e oops --- diff --git a/SfaData.py b/SfaData.py index 922a0b5..6f8c9cc 100644 --- a/SfaData.py +++ b/SfaData.py @@ -60,7 +60,7 @@ class SfaData: command = ["sfi.py", "-u", self.getUser(), "-a", self.getAuthority(), "-r", self.registry(), "-s", self.slicemgr(), "show", hrn] self.trace_command(command) - text = subprocess.Popen(command, stdout=PIPE).communicate()[0] + text = subprocess.Popen(command, stdout=subprocess.PIPE).communicate()[0] self.trace_end() return text @@ -69,7 +69,7 @@ class SfaData: command=["sfi.py", "-u", self.getUser(), "-a", self.getAuthority(), "-r", self.registry(), "-s", self.slicemgr(), "list", hrn] self.trace_command(command) - text = subprocess.Popen(command, stdout=PIPE).communicate()[0] + text = subprocess.Popen(command, stdout=subprocess.PIPE).communicate()[0] self.trace_end() lines = text.split('\n') for line in lines: