[open-ils-commits] [GIT] Evergreen ILS branch master updated. fd5785cb9c65e10e775bd10088c0dbc29afd977f
Evergreen Git
git at git.evergreen-ils.org
Tue Feb 19 08:49:31 EST 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, master has been updated
via fd5785cb9c65e10e775bd10088c0dbc29afd977f (commit)
from 3e1d6e1e0f70e1f5bc0418906fad626411906450 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit fd5785cb9c65e10e775bd10088c0dbc29afd977f
Author: Dan Scott <dan at coffeecode.net>
Date: Mon Feb 18 17:59:45 2013 -0500
Fix failing SIP unit test
Per LP# 1099595, just copy the constant inline instead of requiring the
SIPServer code to be installed on every instance where you don't want
'make check' to fail. (Skipping the test in the absence of the SIPServer
code would be another option, but then you're skipping the test, and for
the sake of 1 constant, that seems like a bad trade.)
Signed-off-by: Dan Scott <dan at coffeecode.net>
Signed-off-by: Mike Rylander <mrylander at gmail.com>
diff --git a/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm b/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm
index a860910..3737506 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm
@@ -25,7 +25,6 @@ use OpenSRF::Utils qw/:datetime/;
use DateTime::Format::ISO8601;
use Encode;
use Unicode::Normalize;
-use Sip::Constants qw(SIP_DATETIME);
my $U = 'OpenILS::Application::AppUtils';
@@ -36,6 +35,11 @@ my $target_encoding; # FIXME: this is configured at the institution level.
use Digest::MD5 qw(md5_hex);
+# Copied from Sip::Constants
+use constant {
+ SIP_DATETIME => "%Y%m%d %H%M%S",
+};
+
sub new {
my ($class, $institution, $login) = @_;
my $type = ref($class) || $class;
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/src/perlmods/lib/OpenILS/SIP.pm | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list