Imported Upstream version 3.2.2
[debian/gnuradio] / gnuradio-core / src / lib / filter / generate_gr_fir_sysconfig.py
index 16e64bb0c501af658aee7afa295e38444fe93dd1..b396721937e3a5ce8cd2b5f4b24e16bbd1418445 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/env python
 # -*- python -*-
 #
-# Copyright 2003 Free Software Foundation, Inc.
+# Copyright 2003,2009 Free Software Foundation, Inc.
 # 
 # This file is part of GNU Radio
 # 
@@ -28,6 +28,9 @@ from generate_utils import *
 
 def make_gr_fir_sysconfig_h ():
     out = open_and_log_name ('gr_fir_sysconfig.h', 'w')
+    if not out:
+        return
+
     out.write (copyright)
 
     out.write (
@@ -96,6 +99,9 @@ gr_fir_sysconfig *gr_fir_sysconfig_singleton ();
 
 def make_gr_fir_sysconfig_cc ():
     out = open_and_log_name ('gr_fir_sysconfig.cc', 'w')
+    if not out:
+        return
+
     out.write (copyright)
 
     out.write (