[yt-svn] commit/yt: 2 new changesets

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed May 17 10:13:20 PDT 2017


2 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/41768d29b321/
Changeset:   41768d29b321
User:        xarthisius
Date:        2017-05-17 15:12:40+00:00
Summary:     Only print alias if it's non empty string
Affected #:  1 file

diff -r 2cda15e1ef4d6accc2c6f295789a87a747d43331 -r 41768d29b321a8e7eb656f0e806a3c19648385e9 doc/helper_scripts/show_fields.py
--- a/doc/helper_scripts/show_fields.py
+++ b/doc/helper_scripts/show_fields.py
@@ -171,7 +171,7 @@
         u = field[1][0]
         if len(u) > 0:
             self.units = ":math:`\mathrm{%s}`" % fix_units(u)
-        a = ["``%s``" % f for f in field[1][1]]
+        a = ["``%s``" % f for f in field[1][1] if f]
         self.aliases = " ".join(a)
         self.dname = ""
         if field[1][2] is not None:


https://bitbucket.org/yt_analysis/yt/commits/9d11f1df3576/
Changeset:   9d11f1df3576
User:        ngoldbaum
Date:        2017-05-17 17:13:06+00:00
Summary:     Merge pull request #1397 from Xarthisius/doc_fix

[show_fields] Only print alias if it's non empty string
Affected #:  1 file

diff -r 2cda15e1ef4d6accc2c6f295789a87a747d43331 -r 9d11f1df3576f9d2cf84401b0bcfad6802b977b2 doc/helper_scripts/show_fields.py
--- a/doc/helper_scripts/show_fields.py
+++ b/doc/helper_scripts/show_fields.py
@@ -171,7 +171,7 @@
         u = field[1][0]
         if len(u) > 0:
             self.units = ":math:`\mathrm{%s}`" % fix_units(u)
-        a = ["``%s``" % f for f in field[1][1]]
+        a = ["``%s``" % f for f in field[1][1] if f]
         self.aliases = " ".join(a)
         self.dname = ""
         if field[1][2] is not None:

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