[Checkins] SVN: hurry.jqueryui/trunk/src/hurry/jqueryui/prepare.py Safety guards so that these entry points don't fire when we depend

Martijn Faassen faassen at startifact.com
Wed Jul 28 11:41:20 EDT 2010


Log message for revision 115172:
  Safety guards so that these entry points don't fire when we depend 
  on this package.
  

Changed:
  U   hurry.jqueryui/trunk/src/hurry/jqueryui/prepare.py

-=-
Modified: hurry.jqueryui/trunk/src/hurry/jqueryui/prepare.py
===================================================================
--- hurry.jqueryui/trunk/src/hurry/jqueryui/prepare.py	2010-07-28 15:40:35 UTC (rev 115171)
+++ hurry.jqueryui/trunk/src/hurry/jqueryui/prepare.py	2010-07-28 15:41:19 UTC (rev 115172)
@@ -89,8 +89,12 @@
 def main():
     prepare_jqueryui(py.path.local(os.path.dirname(__file__)))
 
-def working_entrypoint(data):    
+def working_entrypoint(data):
+    if data['name'] != 'hurry.jqueryui':
+        return
     prepare_jqueryui(py.path.local(os.path.dirname(__file__)))
 
 def tag_entrypoint(data):
+    if data['name'] != 'hurry.jqueryui':
+        return
     prepare_jqueryui(py.path.local(data['tagdir'] + '/src/hurry/jqueryui'))



More information about the checkins mailing list