diff options
author | hut <hut@lavabit.com> | 2011-10-01 01:44:08 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2011-10-01 01:44:08 +0200 |
commit | 3f053cf2ecda9dee7e987a0d186fff6f5be27bb4 (patch) | |
tree | c88dc1345c99605bee1dbbb4178b4ac2119e123f | |
parent | 3d378ea876e98122196fc5635c6cf52bce959495 (diff) | |
download | ranger-3f053cf2ecda9dee7e987a0d186fff6f5be27bb4.tar.gz |
container.tags: sanity checks
-rw-r--r-- | ranger/container/tags.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ranger/container/tags.py b/ranger/container/tags.py index c2fe3067..24fbd0a5 100644 --- a/ranger/container/tags.py +++ b/ranger/container/tags.py @@ -57,6 +57,9 @@ class Tags(object): tag = others['tag'] else: tag = self.default_tag + tag = str(tag) + if tag not in ALLOWED_KEYS: + return self.sync() for item in items: try: |