From f2aa4c3566b7e8f8e03c8d232b12bbf66eec790d Mon Sep 17 00:00:00 2001 From: Raymond Wagner Date: Fri, 12 Nov 2010 18:11:29 +0000 Subject: [PATCH] Allow dashes ('-') in hostnames used for FileTransfer. git-svn-id: http://svn.mythtv.org/svn/trunk@27200 7dbf422c-18fa-0310-86e9-fd20926502f2 --- mythtv/bindings/python/MythTV/mythproto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mythtv/bindings/python/MythTV/mythproto.py b/mythtv/bindings/python/MythTV/mythproto.py index bcd06f6e25e..3f5aeb2ceba 100644 --- a/mythtv/bindings/python/MythTV/mythproto.py +++ b/mythtv/bindings/python/MythTV/mythproto.py @@ -184,7 +184,7 @@ def ftopen(file, mode, forceremote=False, nooverwrite=False, db=None, \ db = DBCache(db) log = MythLog('Python File Transfer', db=db) reuri = re.compile(\ - 'myth://((?P.*)@)?(?P[a-zA-Z0-9_\.]*)(:[0-9]*)?/(?P.*)') + 'myth://((?P.*)@)?(?P[a-zA-Z0-9_\-\.]*)(:[0-9]*)?/(?P.*)') reip = re.compile('(?:\d{1,3}\.){3}\d{1,3}') if mode not in ('r','w'):