Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

Commit

Permalink
travis: drop lint job until it's passing
Browse files Browse the repository at this point in the history
use correct python for jobs
  • Loading branch information
Wooble committed Mar 26, 2020
1 parent fcebb5c commit bbf3cbd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,11 @@ jobs:
env: TOXENV=py37
- python: 3.8
env: TOXENV=py38
- python: 3.6
- python: 3.8
env: TOXENV=style
- python: 3.6
- python: 3.8
env: TOXENV=manifest
- python: 3.6
env: TOXENV=lint



deploy:
Expand All @@ -44,5 +43,5 @@ deploy:
on:
condition: "! $TOXENV =~ ^style|lint|manifest$"
tags: true
python: 3.6
python: 3.8
distributions: "sdist bdist_wheel"
5 changes: 3 additions & 2 deletions pyvger/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(self, oracle_database="pittdb", config=None, **kwargs):
if config is not None:
cf = configparser.ConfigParser()
cf.read(config)
for item in (
config_keys = [
"oracleuser",
"oraclepass",
"oracledsn",
Expand All @@ -57,7 +57,8 @@ def __init__(self, oracle_database="pittdb", config=None, **kwargs):
"voy_path",
"cat_location",
"library_id",
):
]
for item in config_keys:
val = cf.get("Voyager", item, fallback="", raw=True).strip('"')
if val:
cfg[item] = val
Expand Down

0 comments on commit bbf3cbd

Please sign in to comment.