[hdf-compass] 83/295: fix open resource issue

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun May 8 10:35:29 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/master
in repository hdf-compass.

commit 99ef00ed7fbc570633f93b97be71c3e050910725
Author: jreadey <jreadey at hdfgroup.org>
Date:   Wed May 27 10:59:15 2015 -0700

    fix open resource issue
---
 compass_viewer/frame.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/compass_viewer/frame.py b/compass_viewer/frame.py
index d444d1d..9a6ac57 100644
--- a/compass_viewer/frame.py
+++ b/compass_viewer/frame.py
@@ -158,6 +158,7 @@ class BaseFrame(wx.Frame):
             return
 
         url = dlg.GetValue()
+        url = url.strip()  #remove any new lines
         dlg.Destroy()
 
         if not open_store(url):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/hdf-compass.git



More information about the debian-science-commits mailing list