[Python-modules-commits] [python-pgspecial] 01/03: Import python-pgspecial_1.6.0.orig.tar.gz
ChangZhuo Chen
czchen at moszumanska.debian.org
Wed Aug 17 15:35:15 UTC 2016
This is an automated email from the git hooks/post-receive script.
czchen pushed a commit to branch master
in repository python-pgspecial.
commit 54bb1f24a127d8319fb2504f415b54baec6eb72a
Author: ChangZhuo Chen (陳昌倬) <czchen at debian.org>
Date: Wed Aug 17 23:23:09 2016 +0800
Import python-pgspecial_1.6.0.orig.tar.gz
---
PKG-INFO | 2 +-
pgspecial.egg-info/PKG-INFO | 2 +-
pgspecial.egg-info/SOURCES.txt | 4 +++-
pgspecial.egg-info/pbr.json | 1 +
pgspecial/__init__.py | 2 +-
pgspecial/iocommands.py | 9 +++++++++
tests/.cache/v/cache/lastfailed | 4 +++-
.../__pycache__/test_specials.cpython-27-PYTEST.pyc | Bin 19685 -> 16944 bytes
tests/__pycache__/test_tm.cpython-27-PYTEST.pyc | Bin 0 -> 2301 bytes
tests/conftest.pyc | Bin 1488 -> 1573 bytes
tests/dbutils.pyc | Bin 2506 -> 2591 bytes
11 files changed, 19 insertions(+), 5 deletions(-)
diff --git a/PKG-INFO b/PKG-INFO
index 859d210..bce4c1f 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pgspecial
-Version: 1.5.0
+Version: 1.6.0
Summary: Meta-commands handler for Postgres Database.
Home-page: http://pgcli.com
Author: Amjith Ramanujam
diff --git a/pgspecial.egg-info/PKG-INFO b/pgspecial.egg-info/PKG-INFO
index 859d210..bce4c1f 100644
--- a/pgspecial.egg-info/PKG-INFO
+++ b/pgspecial.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pgspecial
-Version: 1.5.0
+Version: 1.6.0
Summary: Meta-commands handler for Postgres Database.
Home-page: http://pgcli.com
Author: Amjith Ramanujam
diff --git a/pgspecial.egg-info/SOURCES.txt b/pgspecial.egg-info/SOURCES.txt
index df6e337..b9bccc0 100644
--- a/pgspecial.egg-info/SOURCES.txt
+++ b/pgspecial.egg-info/SOURCES.txt
@@ -9,6 +9,7 @@ pgspecial/namedqueries.py
pgspecial.egg-info/PKG-INFO
pgspecial.egg-info/SOURCES.txt
pgspecial.egg-info/dependency_links.txt
+pgspecial.egg-info/pbr.json
pgspecial.egg-info/requires.txt
pgspecial.egg-info/top_level.txt
pgspecial/help/__init__.py
@@ -20,4 +21,5 @@ tests/dbutils.pyc
tests/pytest.ini
tests/test_specials.py
tests/.cache/v/cache/lastfailed
-tests/__pycache__/test_specials.cpython-27-PYTEST.pyc
\ No newline at end of file
+tests/__pycache__/test_specials.cpython-27-PYTEST.pyc
+tests/__pycache__/test_tm.cpython-27-PYTEST.pyc
\ No newline at end of file
diff --git a/pgspecial.egg-info/pbr.json b/pgspecial.egg-info/pbr.json
new file mode 100644
index 0000000..56bde1b
--- /dev/null
+++ b/pgspecial.egg-info/pbr.json
@@ -0,0 +1 @@
+{"is_release": false, "git_version": "77fb297"}
\ No newline at end of file
diff --git a/pgspecial/__init__.py b/pgspecial/__init__.py
index 0ad4548..c5b2dac 100644
--- a/pgspecial/__init__.py
+++ b/pgspecial/__init__.py
@@ -1,5 +1,5 @@
__all__ = []
-__version__ = '1.5.0'
+__version__ = '1.6.0'
def export(defn):
diff --git a/pgspecial/iocommands.py b/pgspecial/iocommands.py
index c3b7966..a04695c 100644
--- a/pgspecial/iocommands.py
+++ b/pgspecial/iocommands.py
@@ -33,6 +33,15 @@ def get_filename(sql):
@export
+def get_watch_command(command):
+ match = re.match("(.*) \\\\watch (\d+);?$", command)
+ if match:
+ groups = match.groups()
+ return groups[0], int(groups[1])
+ return None, None
+
+
+ at export
def open_external_editor(filename=None, sql=''):
"""
Open external editor, wait for the user to type in his query,
diff --git a/tests/.cache/v/cache/lastfailed b/tests/.cache/v/cache/lastfailed
index 9e26dfe..0ba23c8 100644
--- a/tests/.cache/v/cache/lastfailed
+++ b/tests/.cache/v/cache/lastfailed
@@ -1 +1,3 @@
-{}
\ No newline at end of file
+{
+ "test_specials.py::test_create_file": true
+}
\ No newline at end of file
diff --git a/tests/__pycache__/test_specials.cpython-27-PYTEST.pyc b/tests/__pycache__/test_specials.cpython-27-PYTEST.pyc
index c82d663..7b70013 100644
Binary files a/tests/__pycache__/test_specials.cpython-27-PYTEST.pyc and b/tests/__pycache__/test_specials.cpython-27-PYTEST.pyc differ
diff --git a/tests/__pycache__/test_tm.cpython-27-PYTEST.pyc b/tests/__pycache__/test_tm.cpython-27-PYTEST.pyc
new file mode 100644
index 0000000..59882be
Binary files /dev/null and b/tests/__pycache__/test_tm.cpython-27-PYTEST.pyc differ
diff --git a/tests/conftest.pyc b/tests/conftest.pyc
index 31ea58c..6dfaf25 100644
Binary files a/tests/conftest.pyc and b/tests/conftest.pyc differ
diff --git a/tests/dbutils.pyc b/tests/dbutils.pyc
index d4c3bd2..320ad9b 100644
Binary files a/tests/dbutils.pyc and b/tests/dbutils.pyc differ
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pgspecial.git
More information about the Python-modules-commits
mailing list