~cedric/todo.sr.ht

16449bf9a48ce30feb9d717ed50235047b380589 — C├ędric Bonhomme 3 months ago 3ca0f91 master
Fix regular expression: Repository name can not start with .-_
1 files changed, 1 insertions(+), 1 deletions(-)

M todosrht/types/tracker.py
M todosrht/types/tracker.py => todosrht/types/tracker.py +1 -1
@@ 6,7 6,7 @@ from srht.flagtype import FlagType
from srht.validation import Validation
from todosrht.types import TicketAccess, TicketStatus, TicketResolution

name_re = re.compile(r"^([A-Za-z._-][A-Za-z._-]*?)+$")
name_re = re.compile(r"^([a-zA-Z][a-zA-Z0-9._-]*?)+$")

class Tracker(Base):
    __tablename__ = 'tracker'