Skip to content

Commit

Permalink
Pass string with pkg to logger.info()
Browse files Browse the repository at this point in the history
…rather than a string with "rockstor" hardcoded
  • Loading branch information
chrstphrchvz committed Mar 11, 2021
1 parent e291408 commit 2cce11c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rockstor/system/pkg_mgmt.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def rpm_build_info(pkg):
date = None

if pkg_infos(pkg, tag='NAME') != pkg:
logger.info('No "rockstor" package found: source install?')
logger.info('No "{}" package found: source install?'.format(pkg))
return version, date

buildtime_str = pkg_infos(pkg, tag='BUILDTIME')
Expand Down

0 comments on commit 2cce11c

Please sign in to comment.