Commit 1bd55d88 authored by Aurélien Dunand's avatar Aurélien Dunand Committed by Sébastien Luttringer
Browse files

Allow image name with dot

parent b3d9bf03
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -171,7 +171,7 @@ class Image(object):
        '''
        Check if @buf is a valid image name
        '''
        if match("^[-_\w]+$", buf) is None:
        if match("^[-_.\w]+$", buf) is None:
            raise ISError(u"Invalid image name %s" % buf)
        # return the image name, because this function is used by ConfigObj
        # validate to ensure the image name is correct