Skip to content

Commit

Permalink
fix a typo in prev commit
Browse files Browse the repository at this point in the history
change apt pg repo
  • Loading branch information
segasai committed Aug 11, 2020
1 parent c44b0e0 commit 3ca2319
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ before_install:
- sudo apt-get -y --purge remove postgresql libpq-dev libpq5 postgresql-client-common postgresql-common
- sudo rm -rf /var/lib/postgresql
- wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
- sudo sh -c "echo deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main $PGVERSION >> /etc/apt/sources.list.d/postgresql.list"
- sudo sh -c "echo deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg-testing main $PGVERSION >> /etc/apt/sources.list.d/postgresql.list"
- sudo sh -c "echo deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main $PGVERSION >> /etc/apt/sources.list.d/postgresql.list"
- sudo sh -c "echo deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg-testing main $PGVERSION >> /etc/apt/sources.list.d/postgresql.list"
- sudo apt-get update -qq
- sudo apt-get -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::="--force-confnew" install postgresql-$PGVERSION postgresql-server-dev-$PGVERSION
- sudo chmod 777 /etc/postgresql/$PGVERSION/main/pg_hba.conf
Expand Down
2 changes: 1 addition & 1 deletion py/sqlutilpy/sqlutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ def __print_arrays(arrays, f, sep=' '):
recarr = np.rec.fromarrays(arrays)
np.savetxt(f, recarr, fmt=fmt, delimiter=sep)

def failure_cleanup(conn, connSuplied):
def failure_cleanup(conn, connSupplied):
try:
conn.rollback()
except Exception:
Expand Down

0 comments on commit 3ca2319

Please sign in to comment.