Kaydet (Commit) 9045a364 authored tarafından Suleyman Poyraz's avatar Suleyman Poyraz

Fixed importing error

When inary is imported it gives error since metada module is imported in packagedb module. So we take error from python shell. I have fixed it.
üst 4fc16251
......@@ -19,7 +19,7 @@ import gettext
import datetime
import inary.db
import inary.data.metadata as Metadata
import inary.data.metadata
import inary.analyzer.dependency
import inary.db.itembyrepo
import inary.db.lazydb as lazydb
......@@ -177,7 +177,7 @@ class PackageDB(lazydb.LazyDB):
def get_package_repo(self, name, repo=None):
pkg, repo = self.pdb.get_item_repo(name, repo)
package = Metadata.Package()
package = inary.data.metadata.Package()
return package, repo
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment