Ticket #29 (closed bug: fixed)

Opened 11 years ago

Last modified 11 years ago

nagare-admin batch and imports

Reported by: bertrand.croq Owned by: apoirier
Priority: major Component: nagare-admin
Version: 0.1.0 Keywords: batch


Scripts called using nagare-admin batch thescript.py sometime fail with NameError: global name '...' is not defined.

Failing code:

from nagare import examples
print examples
def tst():
  print examples # <-- fails here

Not failing code:

from nagare import database
print database
def tst():
  print database

Change History

comment:1 Changed 11 years ago by apoirier

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.