public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Brian Dolbec" <brian.dolbec@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gentoo-keys:master commit in: gkeyldap/
Date: Sun, 23 Jun 2013 07:13:57 +0000 (UTC)	[thread overview]
Message-ID: <1371961859.279cf8282b3e840bcc2ec5cbd2d6295cccc388f3.dol-sen@gentoo> (raw)

commit:     279cf8282b3e840bcc2ec5cbd2d6295cccc388f3
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 22 20:13:54 2013 +0000
Commit:     Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Sun Jun 23 04:30:59 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-keys.git;a=commit;h=279cf828

Add more progress feedback for normal usage.

---
 gkeyldap/cli.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gkeyldap/cli.py b/gkeyldap/cli.py
index 8d9dc85..ba0218b 100644
--- a/gkeyldap/cli.py
+++ b/gkeyldap/cli.py
@@ -119,6 +119,7 @@ class Main(object):
 
 
     def _action_updateseeds(self, args):
+        print("Beginning ldap search...")
         l = LdapSearch()
         if not l.connect():
             print("Aborting Update...Connection failed")
@@ -132,6 +133,7 @@ class Main(object):
                 "Original seed file is intact & untouched.")
         old = self.config['dev-seedfile'] + '.old'
         try:
+            print("Backing up existing file...")
             if os.path.exists(old):
                 logger.debug(
                     "MAIN: _action_updateseeds; Removing 'old' seed file: %s"
@@ -154,7 +156,7 @@ class Main(object):
 
 
     def create_seedfile(self, devs):
-        logger.debug("create_seedfile, arrived")
+        print("Creating seeds from ldap data...")
         filename = self.config['dev-seedfile'] + '.new'
         self.seeds = Seeds(filename)
         count = 0
@@ -167,8 +169,7 @@ class Main(object):
             self.seeds.add(new_gkey)
             count += 1
         print("Total number of seeds created:", count)
-        logger.debug("MAIN: create_seedfile; seeds created...saving file: %s"
-            % filename)
+        print("Seeds created...saving file: %s" % filename)
         return self.seeds.save()
 
 


             reply	other threads:[~2013-06-23  7:14 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-23  7:13 Brian Dolbec [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-08-20  3:55 [gentoo-commits] proj/gentoo-keys:master commit in: gkeyldap/ Brian Dolbec
2014-05-27 20:56 Brian Dolbec
2014-05-15 17:20 Brian Dolbec
2013-11-15  9:16 Brian Dolbec
2013-11-10  1:01 Brian Dolbec
2013-11-10  1:01 Brian Dolbec
2013-11-10  1:01 Brian Dolbec
2013-07-16  0:50 Brian Dolbec
2013-07-06 19:02 Brian Dolbec
2013-07-06 19:02 Brian Dolbec
2013-07-06 19:02 Brian Dolbec
2013-06-23  7:13 Brian Dolbec
2013-06-23  7:13 Brian Dolbec
2013-06-23  7:13 Brian Dolbec
2013-06-23  7:13 Brian Dolbec
2013-06-23  7:13 Brian Dolbec
2013-06-23  7:13 Brian Dolbec
2013-06-23  7:13 Brian Dolbec
2013-06-23  7:13 Brian Dolbec
2013-06-23  7:13 Brian Dolbec
2013-06-23  7:13 Brian Dolbec
2013-06-23  7:13 Brian Dolbec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1371961859.279cf8282b3e840bcc2ec5cbd2d6295cccc388f3.dol-sen@gentoo \
    --to=brian.dolbec@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox