args kontrol etme
This commit is contained in:
@@ -63,7 +63,6 @@ class Package:
|
|||||||
return os.path.basename(pkg)
|
return os.path.basename(pkg)
|
||||||
|
|
||||||
def version_bump(self, *args):
|
def version_bump(self, *args):
|
||||||
if args:
|
|
||||||
for with in args:
|
for with in args:
|
||||||
if with.types == CONFLICT and with.action == ADDED:
|
if with.types == CONFLICT and with.action == ADDED:
|
||||||
self.pspec.add_conflicts(with.pkgs)
|
self.pspec.add_conflicts(with.pkgs)
|
||||||
|
|||||||
@@ -31,7 +31,6 @@ def repo_added_package(package, *args):
|
|||||||
dependencies = None
|
dependencies = None
|
||||||
conflicts = None
|
conflicts = None
|
||||||
|
|
||||||
if args:
|
|
||||||
for with in args:
|
for with in args:
|
||||||
if with.types == CONFLICT and with.action == INIT:
|
if with.types == CONFLICT and with.action == INIT:
|
||||||
conflicts = with.pkgs
|
conflicts = with.pkgs
|
||||||
|
|||||||
Reference in New Issue
Block a user