summaryrefslogtreecommitdiff
path: root/src/distutils2/command/upload.py
diff options
context:
space:
mode:
authorYannick Gingras <ygingras@ygingras.net>2010-05-22 17:17:54 -0400
committerYannick Gingras <ygingras@ygingras.net>2010-05-22 17:17:54 -0400
commitf1711341c05cf74ad262ee045950ae4679ed2242 (patch)
tree1739b5ad0aeb7acf064354f52b780a91f25819aa /src/distutils2/command/upload.py
parent858df0939b8c95a4728b12fcbd001e41fb33088d (diff)
downloaddisutils2-f1711341c05cf74ad262ee045950ae4679ed2242.tar.gz
removed remaining bits from 'bdist_rpm'
Diffstat (limited to 'src/distutils2/command/upload.py')
-rw-r--r--src/distutils2/command/upload.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/distutils2/command/upload.py b/src/distutils2/command/upload.py
index 4bb77ec..fb925ee 100644
--- a/src/distutils2/command/upload.py
+++ b/src/distutils2/command/upload.py
@@ -96,11 +96,7 @@ class upload(PyPIRCCommand):
data['md5_digest'] = md5(content).hexdigest()
comment = ''
- if command == 'bdist_rpm':
- dist, version, id = platform.dist()
- if dist:
- comment = 'built for %s %s' % (dist, version)
- elif command == 'bdist_dumb':
+ if command == 'bdist_dumb':
comment = 'built for %s' % platform.platform(terse=1)
data['comment'] = comment