[Bps-public-commit] r14768 - in Pushmi/trunk: Pushmi-Admin/lib/Pushmi/Admin/Action
alexmv at bestpractical.com
alexmv at bestpractical.com
Mon Aug 4 17:20:59 EDT 2008
Author: alexmv
Date: Mon Aug 4 17:20:59 2008
New Revision: 14768
Modified:
Pushmi/trunk/ (props changed)
Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin/Action/Sync.pm
Log:
r35292 at kohr-ah: chmrr | 2008-08-04 17:20:32 -0400
* Sync without bootstrap is valid
Modified: Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin/Action/Sync.pm
==============================================================================
--- Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin/Action/Sync.pm (original)
+++ Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin/Action/Sync.pm Mon Aug 4 17:20:59 2008
@@ -28,6 +28,7 @@
sub validate_bootstrap {
my $self = shift;
my ($url) = shift;
+ return unless $self->has_argument("bootstrap") and length $url;
return $self->validation_error( bootstrap => "That doesn't look like a URL" )
unless $url =~ m{^(file|https?|ftp)://};
More information about the Bps-public-commit
mailing list