[yt-svn] commit/yt: 2 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Wed Aug 14 05:46:34 PDT 2013
2 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/1740292423d4/
Changeset: 1740292423d4
Branch: yt
User: ngoldbaum
Date: 2013-08-11 04:54:47
Summary: Fixing a misuse of ConfigParser in yt.run_nose()
Affected #: 1 file
diff -r d33be33da703510aa9cf4e85da906bcf0ac61229 -r 1740292423d4cf558981f52d1303287342c76a87 yt/__init__.py
--- a/yt/__init__.py
+++ b/yt/__init__.py
@@ -96,7 +96,7 @@
if answer_big_data:
nose_argv.append('--answer-big-data')
log_suppress = ytcfg.getboolean("yt","suppressStreamLogging")
- ytcfg["yt","suppressStreamLogging"] = 'True'
+ ytcfg.set("yt","suppressStreamLogging", 'True')
initial_dir = os.getcwd()
yt_file = os.path.abspath(__file__)
yt_dir = os.path.dirname(yt_file)
@@ -105,4 +105,4 @@
nose.run(argv=nose_argv)
finally:
os.chdir(initial_dir)
- ytcfg["yt","suppressStreamLogging"] = log_suppress
+ ytcfg.set("yt","suppressStreamLogging", str(log_suppress))
https://bitbucket.org/yt_analysis/yt/commits/43730c73a2de/
Changeset: 43730c73a2de
Branch: yt
User: MatthewTurk
Date: 2013-08-14 14:46:31
Summary: Merged in ngoldbaum/yt (pull request #567)
Fixing a misuse of ConfigParser in yt.run_nose()
Affected #: 1 file
diff -r 6c210dc42c5b750d31235ddefbc6bb78c1183009 -r 43730c73a2de006b6412380da341761d510c5646 yt/__init__.py
--- a/yt/__init__.py
+++ b/yt/__init__.py
@@ -96,7 +96,7 @@
if answer_big_data:
nose_argv.append('--answer-big-data')
log_suppress = ytcfg.getboolean("yt","suppressStreamLogging")
- ytcfg["yt","suppressStreamLogging"] = 'True'
+ ytcfg.set("yt","suppressStreamLogging", 'True')
initial_dir = os.getcwd()
yt_file = os.path.abspath(__file__)
yt_dir = os.path.dirname(yt_file)
@@ -105,4 +105,4 @@
nose.run(argv=nose_argv)
finally:
os.chdir(initial_dir)
- ytcfg["yt","suppressStreamLogging"] = log_suppress
+ ytcfg.set("yt","suppressStreamLogging", str(log_suppress))
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