VirtualBox

Changeset 84271 in vbox


Ignore:
Timestamp:
May 12, 2020 2:39:15 PM (5 years ago)
Author:
vboxsync
Message:

TestManager/base.py: Copy & past fix in validateTs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/core/base.py

    r84100 r84271  
    630630            oRes = re.match(r'^.*[+-](\d\d):(\d\d)$', sValue);
    631631            if oRes is not None:
    632                 if int(oRes.group(6)) > 12 or int(oRes.group(7)) >= 60:
     632                if int(oRes.group(1)) > 12 or int(oRes.group(2)) >= 60:
    633633                    return (sValue, 'Invalid timezone offset.');
    634634                sStripped = sValue[:-6];
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette