cc-4105: formatted comments

This commit is contained in:
Rudi Grinberg 2012-08-08 10:37:32 -04:00
parent 59f390a975
commit 4f29301334
2 changed files with 9 additions and 8 deletions

View File

@ -180,6 +180,8 @@ class WatchSyncer(ReportHandler,Loggable):
def __del__(self):
# Ideally we would like to do a little more to ensure safe shutdown
if self.events_in_queue(): self.logger.warn("Terminating with events in the queue still pending...")
if self.requests_in_queue(): self.logger.warn("Terminating with http requests still pending...")
if self.events_in_queue():
self.logger.warn("Terminating with events still in the queue...")
if self.requests_in_queue():
self.logger.warn("Terminating with http requests still pending...")

View File

@ -45,10 +45,9 @@ def duplicate_file(file_path):
return fdst.name
def calculate_replay_gain(file_path):
"""
This function accepts files of type mp3/ogg/flac and returns a calculated ReplayGain value in dB.
If the value cannot be calculated for some reason, then we default to 0 (Unity Gain).
""" This function accepts files of type mp3/ogg/flac and returns a
calculated ReplayGain value in dB. If the value cannot be calculated for
some reason, then we default to 0 (Unity Gain).
http://wiki.hydrogenaudio.org/index.php?title=ReplayGain_1.0_specification
"""