forked from openlp/openlp
- close file
bzr-revno: 2232
This commit is contained in:
commit
35bc76943f
@ -276,5 +276,7 @@ class TestServiceItem(TestCase):
|
|||||||
first_line = items[0]
|
first_line = items[0]
|
||||||
except IOError:
|
except IOError:
|
||||||
first_line = u''
|
first_line = u''
|
||||||
|
finally:
|
||||||
|
open_file.close()
|
||||||
return first_line
|
return first_line
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user