Mercurial > hg > zebra
changeset 27:7c132e01c281 0.0.5
Add -oraw to lpr command
author | Ben Croston <ben@croston.org> |
---|---|
date | Mon, 27 Apr 2015 11:38:07 +0100 |
parents | 20f6df6d3f42 |
children | 172de216b85d |
files | LICENCE README setup.py zebra.py |
diffstat | 4 files changed, 6 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/LICENCE Sat Nov 16 17:17:15 2013 +0000 +++ b/LICENCE Mon Apr 27 11:38:07 2015 +0100 @@ -1,4 +1,4 @@ -Copyright (c) 2011-2013 Ben Croston +Copyright (c) 2011-2015 Ben Croston Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in
--- a/README Sat Nov 16 17:17:15 2013 +0000 +++ b/README Mon Apr 27 11:38:07 2015 +0100 @@ -1,5 +1,5 @@ ============ -Zebra-0.0.4a +Zebra-0.0.5 ============ Usage:
--- a/setup.py Sat Nov 16 17:17:15 2013 +0000 +++ b/setup.py Mon Apr 27 11:38:07 2015 +0100 @@ -7,7 +7,7 @@ except ImportError: from distutils.command.build_py import build_py -classifiers = ['Development Status :: 3 - Alpha', +classifiers = ['Development Status :: 5 - Production/Stable', 'Operating System :: Microsoft :: Windows', 'Operating System :: Unix', "Operating System :: MacOS :: MacOS X", @@ -25,7 +25,7 @@ install_requires = None setup(name = 'zebra', - version = '0.0.4a', + version = '0.0.5', py_modules = ['zebra'], author = 'Ben Croston', author_email = 'ben@croston.org', @@ -40,4 +40,3 @@ cmdclass = {'build_py': build_py}, install_requires = install_requires ) -
--- a/zebra.py Sat Nov 16 17:17:15 2013 +0000 +++ b/zebra.py Mon Apr 27 11:38:07 2015 +0100 @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright (c) 2011-2013 Ben Croston +# Copyright (c) 2011-2015 Ben Croston # # Permission is hereby granted, free of charge, to any person obtaining a copy of # this software and associated documentation files (the "Software"), to deal in @@ -41,7 +41,7 @@ if self.queue == 'zebra_python_unittest': p = subprocess.Popen(['cat','-'], stdin=subprocess.PIPE) else: - p = subprocess.Popen(['lpr','-P%s'%self.queue], stdin=subprocess.PIPE) + p = subprocess.Popen(['lpr','-P{}'.format(self.queue),'-oraw'], stdin=subprocess.PIPE) p.communicate(commands) p.stdin.close()