Skip to content

Commit

Permalink
fix logging complains
Browse files Browse the repository at this point in the history
  • Loading branch information
Leow, Max committed Aug 19, 2022
1 parent 2f5b752 commit 0b0eb17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions duck_jenkins/_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ def pull_upstream(
break
json_file = files[0]
else:
logging.info("JenkinsData.pull_upstream - No upstream build in file: %s", json_file)
logging.info("JenkinsData.pull_upstream - No upstream build in file: %s",
os.path.abspath(json_file))
break

def pull_previous(
Expand Down Expand Up @@ -401,7 +402,7 @@ def import_into_db(self, jenkins_domain_name: str, overwrite: bool = False):
"""

job_paths = glob.glob(f"{self.data_directory}/{jenkins_domain_name}/*")
logging.debug("DuckLoader.import_into_db - " + job_paths)
logging.debug("DuckLoader.import_into_db - %s", job_paths)

for job_path in job_paths:
job_dir = glob.glob(job_path + "/*.json")
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="duck-jenkins",
version="0.0.24",
version="0.0.25",
install_requires=[
"duckdb",
"pandas",
Expand Down

0 comments on commit 0b0eb17

Please sign in to comment.