On Mon, Jan 17, 2011 at 23:51, Kingsley G. Morse Jr. <kings...@loaner.com> wrote: > On 01/17/11 18:22, Tshepang Lekhonkhobe wrote: >> On Sun, Jan 16, 2011 at 08:41, Kingsley G. Morse Jr. >> <kings...@loaner.com> wrote: >> > Thanks for maintaining wajig. >> >> Thanks. >> >> > I look forward to using it. >> > >> > Here's what I'm seeing with version 2.0.50.1 of >> > wajig: >> > >> > $ wajig list-commands >> > /usr/share/wajig/documentation.py:83: Warning: 'with' will become a >> > reserved keyword in Python 2.6 >> > Traceback (most recent call last): >> > File "/usr/share/wajig/wajig.py", line 35, in <module> >> > import documentation >> > File "/usr/share/wajig/documentation.py", line 83 >> > with open("/usr/share/wajig/help/COMMANDS") as f: >> > ^ >> > SyntaxError: invalid syntax >> >> wajig depends on default python version, and in Squeeze and Sid, that >> happens to be python2.6. What system are using, such that you are >> still running < python2.6?
This line: /usr/share/wajig/documentation.py:83: Warning: 'with' will become a reserved keyword in Python 2.6 tells me that your default python < 2.6. Run 'aptitude show python' to make sure. If not, check where /usr/bin/python points to. > Hi Tshepang, > > Thank you for your quick reply. kool stuff > For years, I've been using the "unstable" > repositories and tools like "apt-get install > <package>" do download new code and dependencies. > > May I please have the benefit of your thoughts on > whether wajig should depend on a specific version > of python? Not specific python version per se, but default python version. At the moment, it is 2.6, so think of it like wajig currently depends on 2.6. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org