Skip to content

Commit

Permalink
Update to v1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
HubTou committed Mar 6, 2022
1 parent 74d094f commit 015cdc6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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.1.0
version = 1.1.1
license = BSD 3-Clause License
license_files = License
author = Hubert Tournier
Expand Down
8 changes: 4 additions & 4 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.1.0 (March 5, 2022) by Hubert Tournier $"
ID = "@(#) $Id: libmanconf - library for handling man(1) and manpath(1) configuration files v1.1.1 (March 6, 2022) by Hubert Tournier $"


################################################################################
Expand Down Expand Up @@ -47,11 +47,11 @@ def _read_configuration_file(filename, debug_level, manpath_so_far):
if len(parts) == 2:
if os.path.isdir(parts[1]):
if parts[1] in manpath_so_far.split(os.pathsep):
if debug_level > 0:
print("-- Skipping duplicate manpath entry %s" % parts[1], file=sys.stderr)
if debug_level > 1:
print("-- Skipping duplicate manpath entry %s" % parts[1], file=sys.stderr)
else:
if debug_level > 0:
print("-- Adding %s to manpath" % parts[1], file=sys.stderr)
print("-- Adding %s to manpath" % parts[1], file=sys.stderr)
if paths:
paths += os.pathsep + parts[1]
else:
Expand Down

0 comments on commit 015cdc6

Please sign in to comment.