[Pkg-mozext-commits] [gcontactsync] 22/88: Moved AB preferences to the standard log from the verbose log

David Prévot taffit at moszumanska.debian.org
Thu Sep 18 20:52:26 UTC 2014


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

taffit pushed a commit to branch master
in repository gcontactsync.

commit 09b13b8df1facf071e8a48b92ffa385e4b1d70e1
Author: Josh Geenen <joshgeenen at gmail.com>
Date:   Sat Jan 4 10:47:04 2014 -0600

    Moved AB preferences to the standard log from the verbose log
---
 src/content/GAddressBook.js | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/content/GAddressBook.js b/src/content/GAddressBook.js
index 5cb374b..ecd67ad 100644
--- a/src/content/GAddressBook.js
+++ b/src/content/GAddressBook.js
@@ -89,9 +89,9 @@ com.gContactSync.GAddressBook.prototype.prefPrefix = "gContactSync";
  * if any.
  */
 com.gContactSync.GAddressBook.prototype.getPrefs = function GAddressBook_getPrefs() {
-  com.gContactSync.LOGGER.VERBOSE_LOG("\nGetting Prefs for AB '" + this.getName() + "':");
+  com.gContactSync.LOGGER.LOG("\nGetting Prefs for AB '" + this.getName() + "':");
   for (var i in this.mPrefs) {
-    var isLastSync = (i === "lastSync")
+    var isLastSync = (i === "lastSync");
     // all prefs except lastSync have the prefPrefix in from of them
     var val = this.getStringPref(isLastSync ? i : this.prefPrefix + i);
     // getStringPref returns 0 iff the pref doesn't exist
@@ -109,10 +109,9 @@ com.gContactSync.GAddressBook.prototype.getPrefs = function GAddressBook_getPref
     else if (isLastSync && isNaN(val)) {
       val = 0;
     }
-    com.gContactSync.LOGGER.VERBOSE_LOG(" * " + i + " = " + val);
+    com.gContactSync.LOGGER.LOG(" * " + i + " = " + val);
     this.mPrefs[i] = val;
   }
-  com.gContactSync.LOGGER.VERBOSE_LOG("\n");
 };
 
 /**

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/gcontactsync.git



More information about the Pkg-mozext-commits mailing list