commit 05eed89473b36d9c2726152e025ee0e2613a9796
Author: Michal Srb <msrb(a)redhat.com>
Date: Tue Jun 3 10:21:05 2014 +0200
[artifact] get_parts_from_mvn_str() is static method now
python/javapackages/pom/artifact.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/python/javapackages/pom/artifact.py b/python/javapackages/pom/artifact.py
index 77d9f11..f1e94a5 100644
--- a/python/javapackages/pom/artifact.py
+++ b/python/javapackages/pom/artifact.py
@@ -28,7 +28,8 @@ class AbstractArtifact(object):
m['version'], namespace=namespace,
compat=compat, pkgver=pkgver)
- def get_parts_from_mvn_str(self, mvnstr):
+ @staticmethod
+ def get_parts_from_mvn_str(mvnstr):
tup = mvnstr.split(":")
# groupId and artifactId are always present
Show replies by date