Mercurial > hg > zebra
comparison zebra.py @ 14:e6ea86e3d0e1
Fixed typo
author | Ben Croston <ben@fuzzyduckbrewery.co.uk> |
---|---|
date | Mon, 15 Aug 2011 18:13:02 +0100 |
parents | 6a1963ee4aff |
children | a9dacd180597 |
comparison
equal
deleted
inserted
replaced
13:a298ab7a36a8 | 14:e6ea86e3d0e1 |
---|---|
53 """ | 53 """ |
54 assert self.queue is not None | 54 assert self.queue is not None |
55 if IS_WINDOWS: | 55 if IS_WINDOWS: |
56 self._output_win(commands) | 56 self._output_win(commands) |
57 else: | 57 else: |
58 self._output_unix(commmands) | 58 self._output_unix(commands) |
59 | 59 |
60 def _getqueues_unix(self): | 60 def _getqueues_unix(self): |
61 queues = [] | 61 queues = [] |
62 output = subprocess.check_output(['lpstat','-p'], universal_newlines=True) | 62 output = subprocess.check_output(['lpstat','-p'], universal_newlines=True) |
63 for line in output.split('\n'): | 63 for line in output.split('\n'): |