Merge branch 'sisou/fix-print-statement' of https://github.com/sisou/websockify

This commit is contained in:
Pierre Ossman 2020-08-21 10:51:37 +02:00
commit e5b6dfe17f
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class ReadOnlyTokenFile(BasePlugin):
tok, target = line.split(': ')
self._targets[tok] = target.strip().rsplit(':', 1)
except ValueError:
print >>sys.stderr, "Syntax error in %s on line %d" % (self.source, index)
print("Syntax error in %s on line %d" % (self.source, index), file=sys.stderr)
index += 1
def lookup(self, token):