Update to version 6.6
This commit is contained in:
parent
d84ba791f7
commit
468531123e
1
.gitignore
vendored
1
.gitignore
vendored
@ -12,3 +12,4 @@
|
|||||||
/click-5.1.tar.gz
|
/click-5.1.tar.gz
|
||||||
/click-6.2.tar.gz
|
/click-6.2.tar.gz
|
||||||
/click-6.3.tar.gz
|
/click-6.3.tar.gz
|
||||||
|
/click-6.6.tar.gz
|
||||||
|
|||||||
@ -1,25 +0,0 @@
|
|||||||
From 1b7ea533ea79bacbb14979e92416fa03b22ee774 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Robert Kuska <rkuska@redhat.com>
|
|
||||||
Date: Sun, 24 Aug 2014 15:42:41 +0200
|
|
||||||
Subject: [PATCH] Change exception check of TypeError
|
|
||||||
|
|
||||||
---
|
|
||||||
click/core.py | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/click/core.py b/click/core.py
|
|
||||||
index b4c7368..fd179a2 100644
|
|
||||||
--- a/click/core.py
|
|
||||||
+++ b/click/core.py
|
|
||||||
@@ -432,7 +432,7 @@ class Context(object):
|
|
||||||
except TypeError as e:
|
|
||||||
if not injected_arguments:
|
|
||||||
raise
|
|
||||||
- if 'got multiple values for keyword argument' in str(e):
|
|
||||||
+ if 'got multiple values for' in str(e):
|
|
||||||
raise RuntimeError(
|
|
||||||
'You called .invoke() on the context with a command '
|
|
||||||
'but provided parameters as positional arguments. '
|
|
||||||
--
|
|
||||||
1.9.3
|
|
||||||
|
|
||||||
@ -3,7 +3,7 @@
|
|||||||
%global with_python3 1
|
%global with_python3 1
|
||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 6.3
|
Version: 6.6
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A simple wrapper around optparse for powerful command line utilities
|
Summary: A simple wrapper around optparse for powerful command line utilities
|
||||||
|
|
||||||
@ -95,6 +95,10 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 18 2016 Charalampos Stratakis <cstratak@redhat.com> - 6.6-1
|
||||||
|
- Update to 6.6
|
||||||
|
- Removed non-applied patch file.
|
||||||
|
|
||||||
* Tue Mar 08 2016 Robert Kuska <rkuska@redhat.com> - 6.3-1
|
* Tue Mar 08 2016 Robert Kuska <rkuska@redhat.com> - 6.3-1
|
||||||
- Update to 6.3
|
- Update to 6.3
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user