]> granicus.if.org Git - python/commitdiff
Issue #24113: Remove unreachable code in shlex.
authorRaymond Hettinger <python@rcn.com>
Tue, 5 May 2015 02:45:47 +0000 (22:45 -0400)
committerRaymond Hettinger <python@rcn.com>
Tue, 5 May 2015 02:45:47 +0000 (22:45 -0400)
Lib/shlex.py

index 4672553f1cc7c9b6f6dea3668d5f206958e5f5aa..f08391800b14f62dfeae12ff721ad4ba1b418d52 100644 (file)
@@ -49,9 +49,6 @@ class shlex:
         self.token = ''
         self.filestack = deque()
         self.source = None
-        if self.debug:
-            print('shlex: reading from %s, line %d' \
-                  % (self.instream, self.lineno))
 
     def push_token(self, tok):
         "Push a token onto the stack popped by the get_token method"