asekretenko commented on a change in pull request #327: Updated glog to 0.3.5 
and then to 0.4.0, added microseconds to LogSink::send().
URL: https://github.com/apache/mesos/pull/327#discussion_r268674213
 
 

 ##########
 File path: src/python/native_common/ext_modules.py.in
 ##########
 @@ -71,75 +94,101 @@ def _create_module(module_name):
         os.path.join(abs_top_builddir, libprocess, '.libs', 'libprocess.a')
     ]
 
+    def cond_add_extra_objects(true_subst, false_subst, bundled, system):
+        """
+            Depending on the provided results of substitution by the configure
+            script, add either bundled or system ones to EXTRA_OBJECTS.
+            If adding bundled objects, check their existence
+            and fail if they are missing.
+        """
+        use_bundled = _get_ac_subst_bool(true_subst, false_subst)
+        if isinstance(bundled, basestring):
+            bundled = [bundled]
 
 Review comment:
   I've split this method into two to address this issue.
   
   An interface that usually accepts a list of ONE string is a perfect way for 
someone to shot himself in the leg when he forgets the square brackets: a 
single string is also iterable ;)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to