some pep8 changes (fixed spacing at end)

This commit is contained in:
mdipierro
2012-10-19 10:37:07 -05:00
parent 3a66f5e330
commit 71ec15190b
136 changed files with 12 additions and 653 deletions
+1
View File
@@ -0,0 +1 @@
@@ -441,7 +441,3 @@ def ccache():
return dict(form=form, total=total,
ram=ram, disk=disk, object_stats=hp != False)
-2
View File
@@ -198,5 +198,3 @@ def toggle_breakpoint():
except Exception, e:
session.flash = str(e)
return response.json({'ok': ok, 'lineno': lineno})
@@ -1697,5 +1697,3 @@ def git_push():
session.flash = T("Push failed, git exited abnormally. See logs for details.")
redirect(URL('site'))
return dict(app=app,form=form)
-3
View File
@@ -89,6 +89,3 @@ def callback():
except:
errors=''
return (output+errors).replace('\n','<br/>')
@@ -80,6 +80,3 @@ def revision():
desc=ctx.description(),
form=form
)
@@ -58,4 +58,3 @@ class EXISTS(object):
if os.path.exists(value):
return (value,None)
return (value,self.error_message)
@@ -6,6 +6,3 @@ def index():
def about():
return locals()
-3
View File
@@ -43,6 +43,3 @@ def reset():
session['commands:'+app] = []
session['history:'+app] = gluon.contrib.shell.History()
return 'done'
@@ -27,6 +27,3 @@ def profiler():
size += len(data)
response.cookies[KEY] = size
return data
@@ -127,5 +127,3 @@ def detach_debugger():
def call():
session.forget()
return service()
-3
View File
@@ -554,6 +554,3 @@ def call(): return service()
path = os.path.join(request.folder,'..',app,'databases','*')
for file in glob.glob(path):
os.unlink(file)
@@ -19,5 +19,3 @@ for filename in os.listdir(path):
os.unlink(fullpath)
except:
logging.exception('failure to check %s'%fullpath)
-3
View File
@@ -78,6 +78,3 @@ PLUGINS_APP = 'http://web2py.com/plugins'
# set the language
if 'adminLanguage' in request.cookies and not (request.cookies['adminLanguage'] is None):
T.force(request.cookies['adminLanguage'].value)
-3
View File
@@ -28,6 +28,3 @@ from gluon.languages import findT, update_all_languages
from gluon.myregex import *
from gluon.restricted import *
from gluon.compileapp import compile_application, remove_compiled_application
-2
View File
@@ -168,5 +168,3 @@ elif session.authorized and \
if request.controller=='appadmin' and DEMO_MODE:
session.flash = 'Appadmin disabled in demo mode'
redirect(URL('default','sites'))
-3
View File
@@ -34,6 +34,3 @@ def helpicon():
def searchbox(elementid):
return TAG[''](LABEL(IMG(_id="search_start",_src=URL('static', 'images/search.png'), _alt=T('filter')), _class='icon', _for=elementid), ' ', INPUT(_id=elementid, _type='text', _size=12))
-3
View File
@@ -36,6 +36,3 @@ def is_manager():
return True
else:
return False
-3
View File
@@ -33,6 +33,3 @@ if os.path.exists('applications/examples'):
response.menu.append((T('Help'), False, URL('examples','default','index')))
else:
response.menu.append((T('Help'), False, 'http://web2py.com/examples'))
@@ -1,6 +1,3 @@
response.files.append(URL('static','plugin_multiselect/jquery.multi-select.js'))
response.files.append(URL('static','plugin_multiselect/multi-select.css'))
response.files.append(URL('static','plugin_multiselect/start.js'))
-1
View File
@@ -1,2 +1 @@