Skip to content

Commit

Permalink
buildlib: Fix a warning from newer pythons
Browse files Browse the repository at this point in the history
[ Upstream commit 7ba12af ]

The % is typod into the string in check-build

Fixes: 7cff824 ("Have travis check shared library filenames")
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
  • Loading branch information
jgunthorpe authored and nmorey committed May 18, 2020
1 parent 239b083 commit e103d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildlib/check-build
Expand Up @@ -82,7 +82,7 @@ def get_symbol_vers(fn,exported=True):
def check_lib_symver(args,fn):
g = re.match(r"lib([^.]+)\.so\.(\d+)\.(\d+)\.(.*)",fn);
if g.group(4) != args.PACKAGE_VERSION:
raise ValueError("Shared Library filename %r does not have the package version %r (%r)%"(
raise ValueError("Shared Library filename %r does not have the package version %r (%r)"%(
fn,args.PACKAGE_VERSION,g.groups()));

# umad/etc used the wrong symbol version name when they moved to soname 3.0
Expand Down

0 comments on commit e103d1d

Please sign in to comment.