Merge pull request #886 from BuhtigithuB/fix/pep8-widget-py
Improve PEP8 gluon/widget.py
This commit is contained in:
@@ -1263,6 +1263,7 @@ end tell
|
|||||||
# if the line was not found (under py2exe & when file was modified)
|
# if the line was not found (under py2exe & when file was modified)
|
||||||
import linecache
|
import linecache
|
||||||
py2exe_getline = linecache.getline
|
py2exe_getline = linecache.getline
|
||||||
|
|
||||||
def getline(filename, lineno, *args, **kwargs):
|
def getline(filename, lineno, *args, **kwargs):
|
||||||
line = py2exe_getline(filename, lineno, *args, **kwargs)
|
line = py2exe_getline(filename, lineno, *args, **kwargs)
|
||||||
if not line:
|
if not line:
|
||||||
|
|||||||
Reference in New Issue
Block a user