Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Python 2.2 issues

0 views
Skip to first unread message

Jérôme Marant

unread,
Dec 8, 2001, 4:07:21 PM12/8/01
to

Hi,

I'm trying to get a 2.2 version of python-4suite.

At install time, the postinst script gives me :

/usr/lib/python2.2/site-packages/Ft/Ods/Tools/init.py:90:
SyntaxWarning: import * only allowed at module level def Register():
/usr/lib/python2.2/site-packages/Ft/Ods/Tools/init.py:90:
SyntaxWarning: import * only allowed at module level def Register():
/usr/lib/python2.2/site-packages/Ft/Ods/Tools/init.py:90:
SyntaxWarning: import * only allowed at module level def Register():
/usr/lib/python2.2/site-packages/Ft/Ods/Tools/init.py:90:
SyntaxWarning: import * only allowed at module level def Register():


Here is the problematic code :

...
def Register():
from Ft.Lib.CommandLine import Options, Command, Arguments
from Ft.Lib.CommandLine.Options import *
from Ft.Lib.CommandLine.Arguments import *
...

Since the 2.1 version installs fine, I guess something has changed
in 2.2. Could someone please enlighten me?

Thanks in advance.

--
Jérôme Marant <jerome...@free.fr>
<jer...@marant.org>

http://marant.org


--
To UNSUBSCRIBE, email to debian-pyt...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

0 new messages