removed a couple of slashes

This commit is contained in:
Tarek Ziade 2012-07-10 16:26:17 +02:00
parent abd1155e19
commit ecc81ce46d
3 changed files with 3 additions and 2 deletions

View file

@ -57,7 +57,7 @@ class PathNode:
self.look = look
def to_dot(self):
print('node [shape=%s,label="%s"] %d;' % \
print('node [shape=%s,label="%s"] %d;' %
(self.look, self.name, self.dot_id()))
def dot_id(self):

View file

@ -1,4 +1,5 @@
#!/usr/bin/env python
# flake8: noqa
# pep8.py - Check Python source code formatting, according to PEP 8
# Copyright (C) 2006 Johann C. Rocholl <johann@rocholl.net>
#

View file

@ -366,7 +366,7 @@ class Checker(object):
existing = scope.get(value.name)
if (isinstance(existing, Importation)
and not existing.used
and (not isinstance(value, Importation) \
and (not isinstance(value, Importation)
or value.fullName == existing.fullName)
and reportRedef):
self.report(messages.RedefinedWhileUnused,