Current location

narf Source control manager Git

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2016-03-05 16:28:30 -0800
committerChristopher Allan Webber <cwebber@dustycloud.org>2016-03-05 16:28:41 -0800
commit4efa61c16ac8dc9948337fbadae1feb2d774902d (patch)
treec6709963b0dd306ee8c6dff74336ad30a00f21a5
parent512ed083b7343103737664c49af40118c9e60eb2 (diff)
Commentary on where this hack on detecting no subcommand to Alembic comes from
-rw-r--r--mediagoblin/gmg_commands/alembic.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mediagoblin/gmg_commands/alembic.py b/mediagoblin/gmg_commands/alembic.py
index 76191876..f255af73 100644
--- a/mediagoblin/gmg_commands/alembic.py
+++ b/mediagoblin/gmg_commands/alembic.py
@@ -27,6 +27,8 @@ from mediagoblin.init import setup_global_and_app_config
class FudgedCommandLine(config.CommandLine):
def main(self, args, db):
options = self.parser.parse_args(args.args_for_alembic)
+ # This code is inspired by a hack in Alembic, but isn't the same really.
+ # Regardless, Alembic is Expat licensed.
if not hasattr(options, "cmd"):
print(
"* Only use this command if you know what you are doing! *\n"