Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Set qmf_agent to None

Avoid an error in the signal handler when qmf_agent is not set.

Signed-off-by: Steve Loranz <sloranz@redhat.com>
  • Loading branch information...
commit 62e88fa229561489e7558df8e21ba85235e6e18f 1 parent 2574df4
Steve Loranz authored November 03, 2011

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  imagefactory
1  imagefactory
@@ -47,6 +47,7 @@ class Application(Singleton):
47 47
         self.pid_file_path = "/var/run/imagefactory.pid"
48 48
         signal.signal(signal.SIGTERM, self.signal_handler)
49 49
         self.app_config = ApplicationConfiguration().configuration
  50
+        self.qmf_agent = None
50 51
 
51 52
         # by setting TMPDIR here we make sure that libguestfs
52 53
         # (imagefactory -> oz -> libguestfs) uses the temporary directory of

0 notes on commit 62e88fa

Please sign in to comment.
Something went wrong with that request. Please try again.