diff options
author | Jens Georg <mail@jensge.org> | 2020-07-30 00:20:58 +0200 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2020-07-30 00:20:58 +0200 |
commit | 42921c5d927337ef08dc49b368535da76bfc87de (patch) | |
tree | 34276de390be3caced5e96dad7a7f6bcbd060643 /examples | |
parent | c540ed86363bb36af7c121e5a00eca43778b6f45 (diff) | |
download | rygel-42921c5d927337ef08dc49b368535da76bfc87de.tar.gz |
examples: Fix removing files form ignorelist
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/mx-info | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/mx-info b/examples/mx-info index 2954a051..99543cce 100755 --- a/examples/mx-info +++ b/examples/mx-info @@ -97,7 +97,7 @@ if int(info[0]) < 16: has_ignorelist = int(info[0]) >= 18 -if not has_ignorelist and (args.unignorelist or args.show_ignorelist): +if not has_ignorelist and (args.unignore or args.show_ignorelist): print ('Database version is too old for ignorelists, cannot unignorelist') sys.exit (1) @@ -109,7 +109,7 @@ if has_ignorelist and args.show_ignorelist: "date" : time.strftime("%a, %d %b %Y %H:%M:%S +0000", t)}) sys.exit(0) -if has_ignorelist and args.unignorelist: +if has_ignorelist and args.unignore: for uri in args.uris: c.execute (UNIGNORELIST_QUERY, { 'uri' : uri }) conn.commit() |