After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 418164 - SyntaxWarning: import * only allowed at module level
SyntaxWarning: import * only allowed at module level
Status: RESOLVED FIXED
Product: epiphany-extensions
Classification: Deprecated
Component: epilicious
2.18.x
Other Linux
: Normal minor
: ---
Assigned To: epiphany-extensions-maint
Magnus Therning
Depends on:
Blocks:
 
 
Reported: 2007-03-14 10:23 UTC by Loïc Minier
Modified: 2007-03-16 10:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Explicitely import all needed functions (1.54 KB, patch)
2007-03-14 10:40 UTC, Loïc Minier
committed Details | Review

Description Loïc Minier 2007-03-14 10:23:00 UTC
Hi,

Epilicious causes a warning during byte-compilation with Python 2.4:
/usr/lib/epiphany/2.18/extensions/epilicious.py:108: SyntaxWarning: import * only allowed at module level
  def _do_sync():


Bye,
Comment 1 Loïc Minier 2007-03-14 10:40:23 UTC
Created attachment 84563 [details] [review]
Explicitely import all needed functions
Comment 2 Christian Persch 2007-03-15 14:20:17 UTC
Commit to gnome-2-18 and trunk, please.
Comment 3 Loïc Minier 2007-03-15 14:35:15 UTC
(In reply to comment #2)
> Commit to gnome-2-18 and trunk, please.

I'm sorry, I don't have commit access!

[ but perhaps if I keep telling this to more and more people, I'll eventually end up with commit access ;-)   I was under the impression that mostly module maintainers or former module maintainers get commit access ]
Comment 4 Loïc Minier 2007-03-16 10:50:41 UTC
Fixed in r1481 in trunk and r1482 in branches/gnome-2-18.

2007-03-16  Loic Minier  <lool@svn.gnome.org>

        * extensions/epilicious/epilicious.py.in:
        Explicitely import all needed functions; fixes SyntaxWarning: import *
        only allowed at module level; bug #418164.