Merge "Revert "Disable bot check when archiving""
diff --git a/tools/archive.py b/tools/archive.py
index fe754e9..687844a 100755
--- a/tools/archive.py
+++ b/tools/archive.py
@@ -98,9 +98,8 @@
def Main():
(options, args) = ParseOptions()
- # TODO(126871526): Fix the is_bot check.
- # if not utils.is_bot() and not options.dry_run:
- # raise Exception('You are not a bot, don\'t archive builds')
+ if not utils.is_bot() and not options.dry_run:
+ raise Exception('You are not a bot, don\'t archive builds')
if utils.is_old_bot():
print("Archiving is disabled on old bots.")