diff options
| author | Alexis Metaireau <ametaireau@gmail.com> | 2010-06-01 19:30:32 +0200 |
|---|---|---|
| committer | Alexis Metaireau <ametaireau@gmail.com> | 2010-06-01 19:30:32 +0200 |
| commit | dcea5173b5af0b08da96b79dd3c8e6865401a90e (patch) | |
| tree | aa4ebbdb8f045d68ffb6e9aa48d782d8e7e5ecc0 /src/distutils2/command | |
| parent | e53ad504d63da19ae941fa9e9c55d46f5847612b (diff) | |
| download | disutils2-dcea5173b5af0b08da96b79dd3c8e6865401a90e.tar.gz | |
Make a decorator for PyPIServer mock, and starting some tests
for pypi.simple.
Also updated some code to be 2.4 and 2.5 compatible.
Diffstat (limited to 'src/distutils2/command')
| -rw-r--r-- | src/distutils2/command/upload.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/distutils2/command/upload.py b/src/distutils2/command/upload.py index fb925ee..14fe119 100644 --- a/src/distutils2/command/upload.py +++ b/src/distutils2/command/upload.py @@ -160,7 +160,7 @@ class upload(PyPIRCCommand): # send the data try: result = urlopen(request) - status = result.getcode() + status = result.code reason = result.msg except socket.error, e: self.announce(str(e), log.ERROR) |
