[Pkg-sugar-commit] [sugar-browse-activity] 17/18: fix indentation error introduced in 18c756760b78ebdf7680a6cfc44600d90e5cbbb0

Jonas Smedegaard dr at jones.dk
Mon Apr 20 09:47:15 UTC 2015


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

js pushed a commit to tag 108.1
in repository sugar-browse-activity.

commit 349e396f96e3ce37d2ab9e2d7c02d81abaed476c
Author: Gonzalo Odiard <godiard at sugarlabs.org>
Date:   Fri Oct 22 10:47:34 2010 -0300

    fix indentation error introduced in 18c756760b78ebdf7680a6cfc44600d90e5cbbb0
---
 webactivity.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/webactivity.py b/webactivity.py
index ec010b0..015fdb6 100644
--- a/webactivity.py
+++ b/webactivity.py
@@ -417,8 +417,8 @@ class WebActivity(activity.Activity):
 
     def _load_urls(self):
         if self.model.data['currents'] != None:
-             for current in self.model.data['currents']:
-                 self._browser.load_uri(current['url'])
+            for current in self.model.data['currents']:
+                self._browser.load_uri(current['url'])
         
     def write_file(self, file_path):
         if not self.metadata['mime_type']:
@@ -433,7 +433,8 @@ class WebActivity(activity.Activity):
 
             self.model.data['currents'] = []
             ui_uri = self._browser.get_url_from_nsiuri(self._browser.progress.location)
-            self.model.data['currents'].append({'title':self._browser.props.title,'url':ui_uri})
+            self.model.data['currents'].append({'title':self._browser.props.title,
+                'url':ui_uri})
             logging.error(self.model.data)
             f = open(file_path, 'w')
             try:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sugar/sugar-browse-activity.git



More information about the pkg-sugar-commit mailing list