Changeset 1632:9cf919d0f343 in orange-bioinformatics for Orange/bioinformatics/obiGenomicsUpdate.py


Ignore:
Timestamp:
04/16/12 19:53:28 (2 years ago)
Author:
mitar
Branch:
default
Message:

Fixing imports.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/bioinformatics/obiGenomicsUpdate.py

    r1625 r1632  
    1 from __future__ import with_statement 
     1from __future__ import absolute_import, with_statement 
     2 
    23import os 
    34import shelve 
     
    56import tarfile 
    67import pickle 
    7 import orngServerFiles 
    88from UserDict import DictMixin 
     9 
     10from Orange.orng import orngServerFiles 
    911 
    1012class UpdateShelve(DictMixin): 
     
    111113        self.shelve.sync() 
    112114 
    113 import orngServerFiles 
     115from Orange.orng import orngServerFiles 
    114116 
    115117class PKGUpdate(Update): 
     
    185187 
    186188def firstUpdateConsole(): 
    187     import obiKEGG, obiGO, obiGenomicsUpdate 
     189    from . import obiKEGG, obiGO, obiGenomicsUpdate 
    188190 
    189191    pkgUpdate = obiGenomicsUpdate.PKGUpdate("go", obiGO.Update()) 
Note: See TracChangeset for help on using the changeset viewer.