[yt-svn] commit/yt: 2 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Fri Apr 26 13:15:54 PDT 2013
2 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/ba9d67fad65a/
Changeset: ba9d67fad65a
Branch: yt
User: ngoldbaum
Date: 2013-04-26 21:57:53
Summary: Making it possible to parse enzo parameters that contain '='
Affected #: 1 file
diff -r 1436dc68294375a27855276cedee619701af2f68 -r ba9d67fad65a642c0a0c6c621fee5fdf8139d765 yt/frontends/enzo/data_structures.py
--- a/yt/frontends/enzo/data_structures.py
+++ b/yt/frontends/enzo/data_structures.py
@@ -770,7 +770,7 @@
data_label_factors = {}
for line in (l.strip() for l in lines):
if len(line) < 2: continue
- param, vals = (i.strip() for i in line.split("="))
+ param, vals = (i.strip() for i in line.split("=",1))
# First we try to decipher what type of value it is.
vals = vals.split()
# Special case approaching.
https://bitbucket.org/yt_analysis/yt/commits/5b6b482fd29e/
Changeset: 5b6b482fd29e
Branch: yt
User: MatthewTurk
Date: 2013-04-26 22:15:48
Summary: Merged in ngoldbaum/yt (pull request #484)
Making it possible to parse enzo parameters that contain '='
Affected #: 1 file
diff -r dd62805d9db99dfc664e47ec2c1bee2d5365c8fc -r 5b6b482fd29eac3ed397588d25ddb4ab0d8b7385 yt/frontends/enzo/data_structures.py
--- a/yt/frontends/enzo/data_structures.py
+++ b/yt/frontends/enzo/data_structures.py
@@ -788,7 +788,7 @@
data_label_factors = {}
for line in (l.strip() for l in lines):
if len(line) < 2: continue
- param, vals = (i.strip() for i in line.split("="))
+ param, vals = (i.strip() for i in line.split("=",1))
# First we try to decipher what type of value it is.
vals = vals.split()
# Special case approaching.
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list