[Yt-svn] yt: Adding coercion to a string for prefixes
hg at spacepope.org
hg at spacepope.org
Tue Oct 26 11:35:58 PDT 2010
hg Repository: yt
details: yt/rev/0bd0e842417a
changeset: 3463:0bd0e842417a
user: Matthew Turk <matthewturk at gmail.com>
date:
Tue Oct 26 11:35:54 2010 -0700
description:
Adding coercion to a string for prefixes
diffstat:
yt/raven/PlotTypes.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r b8816cd4c8ae -r 0bd0e842417a yt/raven/PlotTypes.py
--- a/yt/raven/PlotTypes.py Mon Oct 18 09:27:17 2010 -0500
+++ b/yt/raven/PlotTypes.py Tue Oct 26 11:35:54 2010 -0700
@@ -907,7 +907,7 @@
self._run_callbacks()
def _generate_prefix(self, prefix):
- self.prefix = "_".join([prefix, self._type_name,
+ self.prefix = "_".join([str(prefix), self._type_name,
str(self._semi_unique_id),
self.axis_names['X'], self.axis_names['Y'],
self.axis_names['Z'], ])
More information about the yt-svn
mailing list