public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
From: jturney@sourceware.org
To: cygwin-apps-cvs@sourceware.org
Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20160629-1-g681578b
Date: Tue, 05 Jul 2016 12:02:00 -0000	[thread overview]
Message-ID: <20160705120254.25322.qmail@sourceware.org> (raw)




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=681578b1dbf8bda60a76562da171f65173725908

commit 681578b1dbf8bda60a76562da171f65173725908
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Tue Jul 5 12:58:11 2016 +0100

    Don't import dirq unless we actually need it
    
    Don't import dirq unless we actually need it, i.e. if the experimental
    option --queuedir is used.


Diff:
---
 calm/queue.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/calm/queue.py b/calm/queue.py
index d9b1d8f..94ad04c 100644
--- a/calm/queue.py
+++ b/calm/queue.py
@@ -21,7 +21,6 @@
 # THE SOFTWARE.
 #
 
-from dirq.QueueSimple import QueueSimple
 import logging
 import os
 import re
@@ -42,6 +41,7 @@ def add(args, movelist, fromdir):
     queue_root = os.path.join(args.queuedir, 'dirq')
     upload_root = os.path.join(args.queuedir, 'uploads')
 
+    from dirq.QueueSimple import QueueSimple
     dirq = QueueSimple(os.path.join(queue_root, QUEUE))
 
     # clean up empty directories


                 reply	other threads:[~2016-07-05 12:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20160705120254.25322.qmail@sourceware.org \
    --to=jturney@sourceware.org \
    --cc=cygwin-apps-cvs@sourceware.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).