fixed some pep8 stuff

This commit is contained in:
mdipierro
2012-10-19 09:40:17 -05:00
parent de2337dfe3
commit d552eb2eeb
128 changed files with 267 additions and 140 deletions
+4 -3
View File
@@ -26,7 +26,7 @@ def deploy():
kill()
except:
pass
ignore_apps = [item for item in apps if not item in form.vars.applications]
regex = re.compile('\(applications/\(.*')
w2p_origin = os.getcwd()
@@ -44,13 +44,13 @@ def deploy():
#shutil.copytree(appsrc,appdest)
index.add(['wsgi/'+osname+'/applications/'+i])
new_commit = index.commit("Deploy from Web2py IDE")
origin = repo.remotes.origin
origin.push
origin.push()
#Git code ends here
return dict(form=form,command=cmd)
class EXISTS(object):
def __init__(self, error_message='file not found'):
self.error_message = error_message
@@ -58,3 +58,4 @@ class EXISTS(object):
if os.path.exists(value):
return (value,None)
return (value,self.error_message)