rel-eng/lib/spacewalk/releng/cli.py | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 2d1a58d39379256ba57a795da4b5996c5f96fc13
Author: Devan Goodwin <dgoodwin(a)redhat.com>
Date: Thu Apr 2 10:37:10 2009 -0300
tito: Support block_tagging in tito.props.
diff --git a/rel-eng/lib/spacewalk/releng/cli.py b/rel-eng/lib/spacewalk/releng/cli.py
index 7b40068..36d71e5 100644
--- a/rel-eng/lib/spacewalk/releng/cli.py
+++ b/rel-eng/lib/spacewalk/releng/cli.py
@@ -426,6 +426,11 @@ class TagModule(BaseCliModule):
def main(self):
BaseCliModule.main(self)
+ if self.global_config.has_option(GLOBALCONFIG_SECTION,
+ "block_tagging"):
+ debug("block_tagging defined in tito.props")
+ error_out("Tagging has been disabled in this git branch.")
+
build_dir = lookup_build_dir(self.user_config)
package_name = get_project_name(tag=None)
Show replies by date