##// END OF EJS Templates
ipy_exportdb now tolerates new style aliases'
vivainio -
Show More
@@ -55,7 +55,10 b' def export(filename = None):'
55 if aliases:
55 if aliases:
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 try:
59 lines.append("ip.defalias('%s', %s)" % (k, repr(v[1])))
60 except (AttributeError, TypeError):
61 pass
59
62
60 env = ip.db.get('stored_env')
63 env = ip.db.get('stored_env')
61 if env:
64 if env:
@@ -1,7 +1,7 b''
1 # -*- coding: utf-8 -*-
1 # -*- coding: utf-8 -*-
2 """Release data for the IPython project.
2 """Release data for the IPython project.
3
3
4 $Id: Release.py 2677 2007-08-27 18:22:15Z vivainio $"""
4 $Id: Release.py 2681 2007-08-28 17:51:38Z vivainio $"""
5
5
6 #*****************************************************************************
6 #*****************************************************************************
7 # Copyright (C) 2001-2006 Fernando Perez <fperez@colorado.edu>
7 # Copyright (C) 2001-2006 Fernando Perez <fperez@colorado.edu>
@@ -22,7 +22,7 b" name = 'ipython'"
22 # because bdist_rpm does not accept dashes (an RPM) convention, and
22 # because bdist_rpm does not accept dashes (an RPM) convention, and
23 # bdist_deb does not accept underscores (a Debian convention).
23 # bdist_deb does not accept underscores (a Debian convention).
24
24
25 revision = '2676'
25 revision = '2680M'
26
26
27 version = '0.8.2.svn.r' + revision.rstrip('M')
27 version = '0.8.2.svn.r' + revision.rstrip('M')
28
28
General Comments 0
You need to be logged in to leave comments. Login now