[gnome-clocks] Some whitespace fixes



commit 2d550da2c5d83921fce172bf8876f7c375d416ca
Author: Paolo Borelli <pborelli gnome org>
Date:   Fri Aug 31 14:43:47 2012 +0200

    Some whitespace fixes

 gnomeclocks/alarm.py     |    2 +-
 gnomeclocks/stopwatch.py |    2 +-
 gnomeclocks/timer.py     |    1 +
 3 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gnomeclocks/alarm.py b/gnomeclocks/alarm.py
index c01557d..f746fca 100644
--- a/gnomeclocks/alarm.py
+++ b/gnomeclocks/alarm.py
@@ -495,6 +495,6 @@ class StandaloneAlarm(Gtk.Box):
     def _on_dialog_response(self, dialog, response):
         if response == 1:
             new_alarm = dialog.get_alarm_item()
-            self.alarm =self.view.update_alarm(self.alarm, new_alarm)
+            self.alarm = self.view.update_alarm(self.alarm, new_alarm)
             self.update()
         dialog.destroy()
diff --git a/gnomeclocks/stopwatch.py b/gnomeclocks/stopwatch.py
index 8e10c67..cc5beab 100644
--- a/gnomeclocks/stopwatch.py
+++ b/gnomeclocks/stopwatch.py
@@ -122,6 +122,6 @@ class Stopwatch(Clock):
         timediff = time.time() - self.start_time + self.time_diff
         m, s = divmod(timediff, 60)
         s, d = divmod(s, 1)
-        d = int (d * 10)
+        d = int(d * 10)
         self.set_time(m, s, d)
         return True
diff --git a/gnomeclocks/timer.py b/gnomeclocks/timer.py
index 97fd3e3..193fc1c 100644
--- a/gnomeclocks/timer.py
+++ b/gnomeclocks/timer.py
@@ -135,6 +135,7 @@ class TimerWelcomeScreen(Gtk.Grid):
     def _on_start_clicked(self, data):
         self.timer.start()
 
+
 class Timer(Clock):
     LABEL_MARKUP = "<span font_desc=\"64.0\">%02i:%02i:%02i</span>"
     BUTTON_MARKUP = "<span font_desc=\"18.0\">% s</span>"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]