On Thursday, July 31, 2014 3:26:08 PM UTC-5, Christian Hammond wrote:
> It’s definitely valid syntax.
> Make sure the __ is two underscores.
> Can you copy/paste that to a text file and attach it, so that the
> formatting is preserved?
> Doing it with notepad as a middleman worked better but it still didn't
like the single quotes. Corrected that and now have:
[root@ITT-D-Review logs]# python
Python 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import whoosh
>>> import reviewboard
>>> import __main__
>>> __main__.__requires__ = [‘ReviewBoard’]
File "<stdin>", line 1
__main__.__requires__ = [‘ReviewBoard’]
SyntaxError: invalid syntax
>>> __main__.__requires__ = ['ReviewBoard']
>>> import pkg_resources
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
Happy user? Let us know at http://www.reviewboard.org/users/
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.