This is an automated email from the git hooks/post-receive script.

hmmr-guest pushed a commit to branch master
in repository aghermann.

commit f96203c1ed580ad5049c0ec7e69a0d5970fe50d2
Author: Andrei Zavada <[email protected]>
Date:   Sun Sep 15 02:05:45 2013 +0300

    tree-scanner: make sure subject gets a name (use id if name missing)
---
 upstream/src/aghermann/expdesign/tree-scanner.cc |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/upstream/src/aghermann/expdesign/tree-scanner.cc 
b/upstream/src/aghermann/expdesign/tree-scanner.cc
index d0f3511..8f02ab4 100644
--- a/upstream/src/aghermann/expdesign/tree-scanner.cc
+++ b/upstream/src/aghermann/expdesign/tree-scanner.cc
@@ -372,6 +372,12 @@ scan_tree( TMsmtCollectProgressIndicatorFun 
user_progress_fun)
                                 G.second.avg_episode_times[D][E] =
                                         avg_tm( tms[D][E]);
         }
+
+      // name subjects for whom only id is known
+        for ( auto &G : groups )
+                for ( auto &J : G.second )
+                       if ( J.name.empty() )
+                               J.name = J.id;
 }
 
 

-- 
Alioth's /git/debian-med/git-commit-notice on 
/srv/git.debian.org/git/debian-med/aghermann.git

_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to