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?
>
> Christian
>
>
>
>
>
> 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
>>> whoosh.__file__
'/usr/lib/python2.6/site-packages/Whoosh-2.6.0-py2.6.egg/whoosh/__init__.pyc'
>>> import reviewboard
>>> reviewboard.__file__
'/usr/lib/python2.6/site-packages/ReviewBoard-2.0.5-py2.6.egg/reviewboard/__init__.pyc'
>>>
>>> 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 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to