Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(75)  |  Call(75)  |  Derive(0)  |  Import(0)

src/p/r/Products.plonehrm-2.14/Products/plonehrm/browser/worklocation.py   Products.plonehrm(Download)
        # We get a date that can be used
        if date:
            date_split = date.split('-')
            if not len(date_split) == 3:
                return

src/p/l/plone.app.widgets-1.6.0/plone/app/widgets/at.py   plone.app.widgets(Download)
            return empty_marker
 
        value = value.split('-')
 
        try:
            return empty_marker
 
        tmp = value.split(' ')
        if not tmp[0]:
            return empty_marker

src/p/l/plone.app.widgets-HEAD/plone/app/widgets/at.py   plone.app.widgets(Download)
            return empty_marker
 
        value = value.split('-')
 
        try:
            return empty_marker
 
        tmp = value.split(' ')
        if not tmp[0]:
            return empty_marker

src/p/r/Products.PloneSurvey-1.4.6/Products/PloneSurvey/isodatevalidator.py   Products.PloneSurvey(Download)
        if not isinstance(value, DateTime):
            if isinstance(value, basestring):
                parts = value.split('-')
                if len(parts) != 3:
                    return ("Validation failed(%s): could not "