[Python-modules-commits] [wlc] 01/04: New upstream version 0.8

Michal Cihar nijel at moszumanska.debian.org
Mon Jul 10 18:20:50 UTC 2017


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

nijel pushed a commit to branch master
in repository wlc.

commit b4822ffd6bfb5e8c4c694be5cde977a416a217b2
Author: Michal Čihař <michal at cihar.com>
Date:   Mon Jul 10 20:18:39 2017 +0200

    New upstream version 0.8
---
 ChangeLog                | 40 ++++++++++++++++++++++++++++++++++++++++
 MANIFEST.in              |  1 +
 PKG-INFO                 |  2 +-
 setup.cfg                |  1 -
 setup.py                 |  2 +-
 wlc.egg-info/PKG-INFO    |  2 +-
 wlc.egg-info/SOURCES.txt |  1 +
 wlc/__init__.py          |  6 +++---
 wlc/config.py            |  2 +-
 wlc/main.py              |  2 +-
 wlc/test_base.py         |  7 +++----
 wlc/test_main.py         |  2 +-
 wlc/test_wlc.py          |  2 +-
 13 files changed, 55 insertions(+), 15 deletions(-)

diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 0000000..38cc507
--- /dev/null
+++ b/ChangeLog
@@ -0,0 +1,40 @@
+0.8
+---
+
+* Released on 3rd March, 2017.
+* Various code cleanups.
+* Tested with Python 3.6.
+
+0.7
+---
+
+* Released on 16th December, 2016.
+* Added reset operation.
+* Added statistrics for project.
+* Added changes listing.
+* Added file downloads.
+
+0.6
+---
+
+* Released on 20th September, 2016.
+* Fixed error when invoked without command.
+* Tested on Windows and OS X (in addition to Linux).
+
+0.5
+---
+
+* Released on 11th July, 2016.
+* Added locking commands.
+
+0.4
+---
+
+* Released on 8th July, 2016.
+* Moved Git repository.
+
+0.3
+---
+
+* Released on 19th May, 2016.
+* First version for general usage.
diff --git a/MANIFEST.in b/MANIFEST.in
index 71cf05d..4ffdceb 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,5 +1,6 @@
 include README.rst
 include LICENSE
+include ChangeLog
 include MANIFEST.in
 include requirements.txt
 include requirements-test.txt
diff --git a/PKG-INFO b/PKG-INFO
index af20c90..220c3e8 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: wlc
-Version: 0.7
+Version: 0.8
 Summary: A command line utility for Weblate, translation tool with tight version control integration
 Home-page: https://weblate.org/
 Author: Michal Čihař
diff --git a/setup.cfg b/setup.cfg
index 861a9f5..8bfd5a1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,4 @@
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 
diff --git a/setup.py b/setup.py
index 3b21b03..78a7c5d 100755
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,7 @@
 #!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 #
-# Copyright (c) 2016 Michal Cihar <michal at cihar.com>
+# Copyright © 2016 - 2017 Michal Čihař <michal at cihar.com>
 #
 # This file is part of Weblate Client <https://github.com/WeblateOrg/wlc>
 #
diff --git a/wlc.egg-info/PKG-INFO b/wlc.egg-info/PKG-INFO
index af20c90..220c3e8 100644
--- a/wlc.egg-info/PKG-INFO
+++ b/wlc.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: wlc
-Version: 0.7
+Version: 0.8
 Summary: A command line utility for Weblate, translation tool with tight version control integration
 Home-page: https://weblate.org/
 Author: Michal Čihař
diff --git a/wlc.egg-info/SOURCES.txt b/wlc.egg-info/SOURCES.txt
index 6feeab3..7e3b3a4 100644
--- a/wlc.egg-info/SOURCES.txt
+++ b/wlc.egg-info/SOURCES.txt
@@ -1,3 +1,4 @@
+ChangeLog
 LICENSE
 MANIFEST.in
 README.rst
diff --git a/wlc/__init__.py b/wlc/__init__.py
index 2f63e1d..17e9daf 100644
--- a/wlc/__init__.py
+++ b/wlc/__init__.py
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 #
-# Copyright (c) 2016 Michal Cihar <michal at cihar.com>
+# Copyright © 2016 - 2017 Michal Čihař <michal at cihar.com>
 #
 # This file is part of Weblate Client <https://github.com/WeblateOrg/wlc>
 #
@@ -24,7 +24,7 @@ from urllib.parse import urlencode
 
 import json
 
-__version__ = '0.7'
+__version__ = '0.8'
 
 URL = 'https://weblate.org/'
 DEVEL_URL = 'https://github.com/WeblateOrg/wlc'
@@ -80,7 +80,7 @@ class Weblate(object):
         if self.key:
             request.add_header(
                 'Authorization',
-                'Token %s' % self.key
+                'Token {}'.format(self.key)
             )
 
         try:
diff --git a/wlc/config.py b/wlc/config.py
index 858fef6..5fe68e6 100644
--- a/wlc/config.py
+++ b/wlc/config.py
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 #
-# Copyright (c) 2016 Michal Cihar <michal at cihar.com>
+# Copyright © 2016 - 2017 Michal Čihař <michal at cihar.com>
 #
 # This file is part of Weblate Client <https://github.com/WeblateOrg/wlc>
 #
diff --git a/wlc/main.py b/wlc/main.py
index d80b3bb..dc00c1e 100644
--- a/wlc/main.py
+++ b/wlc/main.py
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 #
-# Copyright (c) 2016 Michal Cihar <michal at cihar.com>
+# Copyright © 2016 - 2017 Michal Čihař <michal at cihar.com>
 #
 # This file is part of Weblate Client <https://github.com/WeblateOrg/wlc>
 #
diff --git a/wlc/test_base.py b/wlc/test_base.py
index 5b3c8f8..6b9f822 100644
--- a/wlc/test_base.py
+++ b/wlc/test_base.py
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 #
-# Copyright (c) 2016 Michal Cihar <michal at cihar.com>
+# Copyright © 2016 - 2017 Michal Čihař <michal at cihar.com>
 #
 # This file is part of Weblate Client <https://github.com/WeblateOrg/wlc>
 #
@@ -61,9 +61,8 @@ class ResponseHandler(object):
 
     def __call__(self, request, uri, headers):
         """Function call interface for httpretty."""
-        if self.auth:
-            if request.headers['Authorization'] != 'Token KEY':
-                return (403, headers, '')
+        if self.auth and request.headers['Authorization'] != 'Token KEY':
+            return (403, headers, '')
         return (200, headers, self.get_content(request))
 
 
diff --git a/wlc/test_main.py b/wlc/test_main.py
index c12d9ee..5afdcf5 100644
--- a/wlc/test_main.py
+++ b/wlc/test_main.py
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 #
-# Copyright (c) 2016 Michal Cihar <michal at cihar.com>
+# Copyright © 2016 - 2017 Michal Čihař <michal at cihar.com>
 #
 # This file is part of Weblate Client <https://github.com/WeblateOrg/wlc>
 #
diff --git a/wlc/test_wlc.py b/wlc/test_wlc.py
index e04915e..46c9afc 100644
--- a/wlc/test_wlc.py
+++ b/wlc/test_wlc.py
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 #
-# Copyright (c) 2016 Michal Cihar <michal at cihar.com>
+# Copyright © 2016 - 2017 Michal Čihař <michal at cihar.com>
 #
 # This file is part of Weblate Client <https://github.com/WeblateOrg/wlc>
 #

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/wlc.git



More information about the Python-modules-commits mailing list