Skip to content

Commit

Permalink
Update to v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
HubTou authored Mar 5, 2022
1 parent f36c1a8 commit 2e6ec72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = pnu_libmanconf
description = library for handling man(1) and manpath(1) configuration files
long_description = file: README.md
long_description_content_type = text/markdown
version = 1.0.0
version = 1.0.1
license = BSD 3-Clause License
license_files = License
author = Hubert Tournier
Expand Down
4 changes: 2 additions & 2 deletions src/libmanconf/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import libpnu

# Version string used by the what(1) and ident(1) commands:
ID = "@(#) $Id: libmanconf - library for handling man(1) and manpath(1) configuration files v1.0.0 (February 28, 2022) by Hubert Tournier $"
ID = "@(#) $Id: libmanconf - library for handling man(1) and manpath(1) configuration files v1.0.1 (March 5, 2022) by Hubert Tournier $"


################################################################################
Expand Down Expand Up @@ -46,7 +46,7 @@ def _read_configuration_file(filename, debug_level):
print("-- MANPATH", file=sys.stderr)
if len(parts) == 2:
if os.path.isdir(parts[1]):
if debug_level > 1:
if debug_level > 0:
print("-- Adding %s to manpath" % parts[1], file=sys.stderr)
if paths:
paths += ":" + parts[1]
Expand Down

0 comments on commit 2e6ec72

Please sign in to comment.