projects
/
g-pypi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a55ea41
)
Fixed indentation.
author
Rob Cakebread
<pythonhead@gentoo.org>
Sun, 10 Aug 2008 15:44:51 +0000
(15:44 +0000)
committer
Rob Cakebread
<pythonhead@gentoo.org>
Sun, 10 Aug 2008 15:44:51 +0000
(15:44 +0000)
git-svn-id: http://g-pypi.googlecode.com/svn/trunk@24
118783bc
-b352-0410-bbc3-
0f610f6f7ae8
g_pypi/enamer.py
patch
|
blob
|
history
diff --git
a/g_pypi/enamer.py
b/g_pypi/enamer.py
index 397c2573778fbbfaa6016cb0b7b6949c187ff581..f93a865e474fd1de257bab20bf331027eba6e2cb 100644
(file)
--- a/
g_pypi/enamer.py
+++ b/
g_pypi/enamer.py
@@
-342,9
+342,9
@@
def get_vars(uri, up_pn, up_pv, pn="", pv="", my_pn="", my_pv=""):
pn = pn.lower()
if "." in pn:
-
my_pn = '${PN/./-}'
-
pn = pn.replace('.', '-')
-
my_p = "${MY_PN}-${PV}"
+ my_pn = '${PN/./-}'
+ pn = pn.replace('.', '-')
+ my_p = "${MY_PN}-${PV}"
p = "%s-%s" % (pn, pv)