Show More
@@ -56,6 +56,11 b' def export(filename = None):' | |||||
56 | lines.extend(['','# === Alias definitions ===','']) |
|
56 | lines.extend(['','# === Alias definitions ===','']) | |
57 | for k,v in aliases.items(): |
|
57 | for k,v in aliases.items(): | |
58 | lines.append("ip.defalias('%s', %s)" % (k, repr(v[1]))) |
|
58 | lines.append("ip.defalias('%s', %s)" % (k, repr(v[1]))) | |
|
59 | ||||
|
60 | env = ip.db.get('stored_env') | |||
|
61 | if env: | |||
|
62 | lines.extend(['','# === Stored env vars ===','']) | |||
|
63 | lines.append("ip.db['stored_env'] = %s " % pprint.pformat(env, indent = 2) ) | |||
59 |
|
64 | |||
60 |
|
65 | |||
61 |
|
66 |
General Comments 0
You need to be logged in to leave comments.
Login now