Fix incorrect hash key for config file output path

This commit is contained in:
Stephen Palmer 2014-11-13 21:12:35 -06:00
Родитель eb62c0c8d4
Коммит 0b49047f67
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -124,7 +124,7 @@ def get_config():
def save_config():
"""persist the in-memory config to disk"""
if CONF['config'] != None:
with open(CONF['file'], 'wb') as configfile:
with open(CONF['path'], 'wb') as configfile:
CONF['config'].write(configfile)
def export_data(out, data):
@ -351,7 +351,6 @@ def git_export(out, args):
out.write("from refs/heads/%s^0\n" % args.branch)
else:
out.write("from :%d\n" % last_mark)
# emit file operations and version data for the current changeset
cursor.execute(QUERY_ASSETVERSIONDETAILS % mark)
@ -439,4 +438,3 @@ def main():
if __name__ == "__main__":
main()