[123366] branches/gsoc14-pip2port/pypi2port.py
gaurav at macports.org
gaurav at macports.org
Fri Aug 8 12:57:13 PDT 2014
Revision: 123366
https://trac.macports.org/changeset/123366
Author: gaurav at macports.org
Date: 2014-08-08 12:57:13 -0700 (Fri, 08 Aug 2014)
Log Message:
-----------
Added port_clean in every phase implementation
Modified Paths:
--------------
branches/gsoc14-pip2port/pypi2port.py
Modified: branches/gsoc14-pip2port/pypi2port.py
===================================================================
--- branches/gsoc14-pip2port/pypi2port.py 2014-08-08 19:51:52 UTC (rev 123365)
+++ branches/gsoc14-pip2port/pypi2port.py 2014-08-08 19:57:13 UTC (rev 123366)
@@ -277,6 +277,7 @@
break
else:
print phase.__name__+" - SUCCESS"
+# port_clean(name,portv)
# print "Now swtiching back to the calling user: "+getpass.getuser()
@@ -306,6 +307,7 @@
phase_output = subprocess.check_call(command,shell=True,stderr=subprocess.STDOUT).strip()
return phase_output
except:
+ port_clean(name,portv)
return False
@@ -319,6 +321,7 @@
phase_output = subprocess.check_call(command,shell=True,stderr=subprocess.STDOUT).strip()
return phase_output
except:
+ port_clean(name,portv)
return False
@@ -332,6 +335,7 @@
phase_output = subprocess.check_call(command,shell=True,stderr=subprocess.STDOUT).strip()
return phase_output
except:
+ port_clean(name,portv)
return False
@@ -345,6 +349,7 @@
phase_output = subprocess.check_call(command,shell=True,stderr=subprocess.STDOUT).strip()
return phase_output
except:
+ port_clean(name,portv)
return False
@@ -358,6 +363,7 @@
phase_output = subprocess.check_call(command,shell=True,stderr=subprocess.STDOUT).strip()
return phase_output
except:
+ port_clean(name,portv)
return False
@@ -371,6 +377,7 @@
phase_output = subprocess.check_call(command,shell=True,stderr=subprocess.STDOUT).strip()
return phase_output
except:
+ port_clean(name,portv)
return False
@@ -384,6 +391,7 @@
phase_output = subprocess.check_call(command,shell=True,stderr=subprocess.STDOUT).strip()
return phase_output
except:
+ port_clean(name,portv)
return False
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140808/9288d8f0/attachment-0001.html>
More information about the macports-changes
mailing list