[rygel] examples: Fix removing files form ignorelist
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] examples: Fix removing files form ignorelist
- Date: Wed, 29 Jul 2020 22:25:53 +0000 (UTC)
commit 42921c5d927337ef08dc49b368535da76bfc87de
Author: Jens Georg <mail jensge org>
Date: Thu Jul 30 00:20:58 2020 +0200
examples: Fix removing files form ignorelist
examples/mx-info | 4 ++--
1 file 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()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]