Mercurial > hg > zebra
diff zebra.py @ 7:0687a6666873
Case insensitive platform
author | Ben Croston <ben@croston.org> |
---|---|
date | Sat, 13 Aug 2011 08:37:53 +0100 |
parents | ad9d9bf61243 |
children | 19fd067db7ca |
line wrap: on
line diff
--- a/zebra.py Fri Aug 12 22:02:09 2011 +0100 +++ b/zebra.py Sat Aug 13 08:37:53 2011 +0100 @@ -28,7 +28,7 @@ def output(self, commands): assert self.queue is not None - if sys.platform.startswith('win'): + if sys.platform.lower().startswith('win'): self._output_win(commands) else: self._output_unix(commmands) @@ -45,7 +45,7 @@ raise Exception('Not yet implemented') def getqueues(self): - if sys.platform.startswith('win'): + if sys.platform.lower().startswith('win'): return self._getqueues_win() else: return self._getqueues_unix()