Cleanup: unnecessary semicolons in Python code

This commit is contained in:
Thomas Nagy 2016-02-19 23:19:56 +01:00
parent a02a0b54b3
commit 9147e9128a
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
4 changed files with 4 additions and 4 deletions

View File

@ -733,7 +733,7 @@ def tokenize_private(s):
if v:
if name == IDENT:
try:
g_optrans[v];
g_optrans[v]
name = OP
except KeyError:
# c++ specific

View File

@ -50,7 +50,7 @@ except ImportError:
critical_errors = 0
CPPLINT_FORMAT = '[CPPLINT] %(filename)s:\nline %(linenum)s, severity %(confidence)s, category: %(category)s\n%(message)s\n'
RE_EMACS = re.compile('(?P<filename>.*):(?P<linenum>\d+): (?P<message>.*) \[(?P<category>.*)\] \[(?P<confidence>\d+)\]');
RE_EMACS = re.compile('(?P<filename>.*):(?P<linenum>\d+): (?P<message>.*) \[(?P<category>.*)\] \[(?P<confidence>\d+)\]')
CPPLINT_RE = {
'waf': RE_EMACS,
'emacs': RE_EMACS,

View File

@ -213,7 +213,7 @@ class PBXProject(XCodeNode):
XCodeNode.__init__(self)
self.buildConfigurationList = XCConfigurationList([XCBuildConfiguration('waf', {})])
self.compatibilityVersion = version[0]
self.hasScannedForEncodings = 1;
self.hasScannedForEncodings = 1
self.mainGroup = PBXGroup(name)
self.projectRoot = ""
self.projectDirPath = ""

View File

@ -417,7 +417,7 @@ class PBXProject(XCodeNode):
self.buildConfigurationList = XCConfigurationList(configurations)
self.compatibilityVersion = version[0]
self.hasScannedForEncodings = 1;
self.hasScannedForEncodings = 1
self.mainGroup = PBXGroup(name)
self.projectRoot = ""
self.projectDirPath = ""