def validate_no_unc(root, value, default):
 if (value and (not value.startswith('\\\\'))):
  return validate_notempty(root, value, default)
 else:
  return ((T('UNC path "%s" not allowed here') % value), None)

def validate_no_unc ( root , value , default ) : if ( value and ( not value . startswith ( '\\\\' ) ) ) : return validate_notempty ( root , value , default ) else : return ( ( T ( 'UNC path "%s" not allowed here' ) % value ) , None )
check if path isnt a unc path .