[Yt-svn] yt: Adding an additional str() to coerce prefix to a string.
hg at spacepope.org
hg at spacepope.org
Tue Oct 26 11:34:48 PDT 2010
hg Repository: yt
details: yt/rev/6ed071964606
changeset: 3462:6ed071964606
user: Matthew Turk <matthewturk at gmail.com>
date:
Tue Oct 26 11:34:43 2010 -0700
description:
Adding an additional str() to coerce prefix to a string.
diffstat:
yt/visualization/plot_types.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 8047f96ee383 -r 6ed071964606 yt/visualization/plot_types.py
--- a/yt/visualization/plot_types.py Mon Oct 25 17:28:49 2010 -0400
+++ b/yt/visualization/plot_types.py Tue Oct 26 11:34:43 2010 -0700
@@ -903,7 +903,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