Skip to content

Commit 34fdf06

Browse files
committed
Update changelog.
1 parent 5a042af commit 34fdf06

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

Diff for: .travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ python:
66
- "3.3"
77
- "3.4"
88
- "3.5"
9-
addons:
10-
postgresql: "9.4"
9+
services:
10+
- postgres
1111
before_install:
1212
- psql -c 'create database "copy-test"' -U postgres
1313
- travis_retry pip install -U pip wheel
1414
install:
1515
- travis_retry pip install -U .
1616
- travis_retry pip install -U -r dev-requirements.txt
1717
script:
18-
- py.test
18+
- pytest
1919
- flake8 .

Diff for: CHANGELOG.rst

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Changelog
22
---------
33

4+
0.2.2 (2017-01-20)
5+
++++++++++++++++++
6+
* Handle special characters in table names. Thanks @JacobHayes!
7+
48
0.2.1 (2016-08-01)
59
++++++++++++++++++
610
* Copy by schema and table name. Thanks @bjab!

Diff for: postgres_copy/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def copy_from(source, dest, engine, **flags):
5757
copy = 'COPY "{}"."{}" FROM STDIN {}'.format(
5858
tbl.schema or 'public',
5959
tbl.name,
60-
formatted_flags
60+
formatted_flags,
6161
)
6262
cursor.copy_expert(copy, source)
6363
conn.commit()

0 commit comments

Comments
 (0)