Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing import in common.py #6

Open
a1s opened this issue May 24, 2018 · 0 comments
Open

Missing import in common.py #6

a1s opened this issue May 24, 2018 · 0 comments

Comments

@a1s
Copy link

a1s commented May 24, 2018

Module abstrys.common is missing import sys:

C:\Python27\Scripts>rst2db.exe
Traceback (most recent call last):
  File "C:\Python27\Scripts\rst2db-script.py", line 11, in <module>
    load_entry_point('rst2db==1.1', 'console_scripts', 'rst2db')()
  File "C:\Python27\lib\site-packages\abstrys\cmd_rst2db.py", line 108, in run
    printerr("Wait, I need at *least* a filename to process!")
  File "C:\Python27\lib\site-packages\abstrys\common.py", line 15, in printerr
    sys.stderr.write("ERROR -- %s\n" % error_text)
NameError: global name 'sys' is not defined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant