db: whitespace cleanup, update copyright date
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# Copyright (C) 2007, TUBITAK/UEKAE
|
# Copyright (C) 2007 - 2011, TUBITAK/UEKAE
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify it under
|
# This program is free software; you can redistribute it and/or modify it under
|
||||||
# the terms of the GNU General Public License as published by the Free
|
# the terms of the GNU General Public License as published by the Free
|
||||||
@@ -86,7 +86,7 @@ class ItemByRepo:
|
|||||||
else:
|
else:
|
||||||
for item in self.dbobj[r].keys():
|
for item in self.dbobj[r].keys():
|
||||||
yield item, self.dbobj[r][item]
|
yield item, self.dbobj[r][item]
|
||||||
|
|
||||||
def item_repos(self, repo=None):
|
def item_repos(self, repo=None):
|
||||||
repos = pisi.db.repodb.RepoDB().list_repos()
|
repos = pisi.db.repodb.RepoDB().list_repos()
|
||||||
if repo:
|
if repo:
|
||||||
|
|||||||
Reference in New Issue
Block a user