]> scripts.mit.edu Git - wizard.git/blobdiff - wizard/git.py
Remove string exception from remaster.
[wizard.git] / wizard / git.py
index d98f757799d22b6ff6374ae7026fe213162445fa..5d210d3274ccf3a231f19de42cf3d4c4f94abb75 100644 (file)
@@ -6,13 +6,16 @@ from wizard import shell, util
 
 def describe():
     """Finds the output of git describe --tags of the current directory."""
-    return shell.Shell().safeCall("git", "describe", "--tags", strip=True)
+    return shell.safeCall("git", "describe", "--tags", strip=True)
 
 def commit_configure():
-    message = "Autoinstall configuration of %s locker.\n\n%s" % (util.get_dir_owner(), util.get_git_footer())
-    util.set_git_env()
+    """
+    Performs a commit of changes performed during configuration of an install
+    with an appropriate logfile message.
+    """
+    message = "Autoinstall configuration.\n\n%s" % util.get_git_footer()
     try:
         message += "\nConfigured-by: " + util.get_operator_git()
     except util.NoOperatorInfo:
         pass
-    shell.Shell().call("git", "commit", "--allow-empty", "-a", "-m", message)
+    shell.call("git", "commit", "--allow-empty", "-a", "-m", message)