[LON-CAPA-cvs] cvs: loncom /localize lonlocal.pm
raeburn
raeburn at source.lon-capa.org
Wed Dec 10 20:47:25 EST 2014
raeburn Thu Dec 11 01:47:25 2014 EDT
Modified files:
/loncom/localize lonlocal.pm
Log:
- Coding style: keys()
Index: loncom/localize/lonlocal.pm
diff -u loncom/localize/lonlocal.pm:1.64 loncom/localize/lonlocal.pm:1.65
--- loncom/localize/lonlocal.pm:1.64 Thu Oct 25 13:47:31 2012
+++ loncom/localize/lonlocal.pm Thu Dec 11 01:47:25 2014
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Localization routines
#
-# $Id: lonlocal.pm,v 1.64 2012/10/25 13:47:31 bisitz Exp $
+# $Id: lonlocal.pm,v 1.65 2014/12/11 01:47:25 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -325,7 +325,7 @@
sub texthash {
my %hash=@_;
- foreach (keys %hash) {
+ foreach (keys(%hash)) {
$hash{$_}=&mt($hash{$_});
}
return %hash;
More information about the LON-CAPA-cvs
mailing list