[python-click-plugins] 02/03: Imported Upstream version 1.0.1

Johan Van de Wauw johanvdw-guest at moszumanska.debian.org
Thu Aug 27 18:36:51 UTC 2015


This is an automated email from the git hooks/post-receive script.

johanvdw-guest pushed a commit to branch master
in repository python-click-plugins.

commit 4f382927034e27529c394a8a1c2c9a40bf84286a
Author: Johan Van de Wauw <johan.vandewauw at gmail.com>
Date:   Thu Aug 27 20:36:24 2015 +0200

    Imported Upstream version 1.0.1
---
 CHANGES.md                | 13 +++++++++++++
 CHANGES.txt               |  8 --------
 LICENSE.txt               |  2 +-
 click_plugins/__init__.py |  9 +++++----
 click_plugins/core.py     |  2 +-
 5 files changed, 20 insertions(+), 14 deletions(-)

diff --git a/CHANGES.md b/CHANGES.md
new file mode 100644
index 0000000..21b8690
--- /dev/null
+++ b/CHANGES.md
@@ -0,0 +1,13 @@
+Changelog
+=========
+
+1.0.1 - 2015-08-20
+------------------
+
+- Fixed a typo in an error message - #5
+
+
+1.0 - 2015-07-20
+----------------
+
+- Initial release.
diff --git a/CHANGES.txt b/CHANGES.txt
deleted file mode 100644
index 4f9ecbb..0000000
--- a/CHANGES.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-Changelog
-=========
-
-
-1.0 - 2015-07-20
-----------------
-
-Initial release.
diff --git a/LICENSE.txt b/LICENSE.txt
index 3be440d..c111694 100644
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@ -13,7 +13,7 @@ modification, are permitted provided that the following conditions are met:
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.
 
-* Neither click-contrib nor the names of its contributors may not be used to
+* Neither click-plugins nor the names of its contributors may not be used to
   endorse or promote products derived from this software without specific prior
   written permission.
 
diff --git a/click_plugins/__init__.py b/click_plugins/__init__.py
index 0c3860f..654c79a 100644
--- a/click_plugins/__init__.py
+++ b/click_plugins/__init__.py
@@ -21,10 +21,10 @@ entry-points.
 """
 
 
-from .core import with_plugins
+from click_plugins.core import with_plugins
 
 
-__version__ = '1.0'
+__version__ = '1.0.1'
 __author__ = 'Kevin Wurster, Sean Gillies'
 __email__ = 'wursterk at gmail.com, sean.gillies at gmail.com'
 __source__ = 'https://github.com/click-contrib/click-plugins'
@@ -44,8 +44,9 @@ modification, are permitted provided that the following conditions are met:
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.
 
-* The names of its contributors may not be used to endorse or promote products
-  derived from this software without specific prior written permission.
+* Neither click-plugins nor the names of its contributors may not be used to
+  endorse or promote products derived from this software without specific prior
+  written permission.
 
 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
diff --git a/click_plugins/core.py b/click_plugins/core.py
index 4077b12..318424c 100644
--- a/click_plugins/core.py
+++ b/click_plugins/core.py
@@ -30,7 +30,7 @@ def with_plugins(plugins):
 
     def decorator(group):
         if not isinstance(group, click.Group):
-            raise TypeError("Plugins can only be attacked to an instance of click.Group()")
+            raise TypeError("Plugins can only be attached to an instance of click.Group()")
 
         for entry_point in plugins or ():
             try:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-click-plugins.git



More information about the Pkg-grass-devel mailing list