]> git.donarmstrong.com Git - lilypond.git/blobdiff - buildscripts/output-distance.py
Compile fix.
[lilypond.git] / buildscripts / output-distance.py
index 1249746e6f496474cae5f6747bdc614b0f7e4b13..fcb8e3731c5bc1d7f931fa14bee65c5cc852184e 100644 (file)
@@ -281,13 +281,9 @@ class FileLink:
 
     def calc_distance (self):
         d = 0.0
-
-        orphan_distance = 0.0
         for l in self.system_links.values ():
             d = max (d, l.geometric_distance ())
-            orphan_distance += l.orphan_count ()
-            
-        return d + orphan_distance
+        return d
 
     def distance (self):
         if type (self._distance) != type (0.0):