<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c54414b1435b282a5c113e54bb7e995bf5a00926">https://github.com/macports/macports-ports/commit/c54414b1435b282a5c113e54bb7e995bf5a00926</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new c54414b  python PG: make default version a local variable to avoid hardcoding it more than once
</span>c54414b is described below

<span style='display:block; white-space:pre;color:#808000;'>commit c54414b1435b282a5c113e54bb7e995bf5a00926
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Thu Feb 6 16:31:08 2020 +0000

<span style='display:block; white-space:pre;color:#404040;'>    python PG: make default version a local variable to avoid hardcoding it more than once
</span>---
 _resources/port1.0/group/python-1.0.tcl | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/python-1.0.tcl b/_resources/port1.0/group/python-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 897cc51..f8247cb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/python-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/python-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -72,14 +72,15 @@ proc python_get_version {} {
</span> }
 proc python_get_default_version {} {
     global python.versions
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    set def_v 37
</span>     if {[info exists python.versions]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        if {37 in ${python.versions}} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            return 37
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        if {${def_v} in ${python.versions}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            return ${def_v}
</span>         } else {
             return [lindex ${python.versions} end]
         }
     } else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        return 37
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        return ${def_v}
</span>     }
 }
 
</pre><pre style='margin:0'>

</pre>