From 428d872be7b0896f85dd5bbd83df8a2d2f429b42 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Thu, 3 Sep 2009 00:59:17 -0500 Subject: Updated some python scripts to not use deprecated modules. --- linden/scripts/install.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'linden/scripts') diff --git a/linden/scripts/install.py b/linden/scripts/install.py index f886a6e..3843c83 100755 --- a/linden/scripts/install.py +++ b/linden/scripts/install.py @@ -34,7 +34,7 @@ $/LicenseInfo$ """ import copy -import md5 +from hashlib import md5 import optparse import os import platform @@ -46,8 +46,6 @@ import tempfile import urllib2 import urlparse -from sets import Set as set, ImmutableSet as frozenset - # Locate -our- python library relative to our install location. from os.path import realpath, dirname, join @@ -76,7 +74,7 @@ class InstallFile(object): return "ifile{%s:%s}" % (self.pkgname, self.url) def _is_md5sum_match(self): - hasher = md5.new(file(self.filename, 'rb').read()) + hasher = md5(file(self.filename, 'rb').read()) if hasher.hexdigest() == self.md5sum: return True return False -- cgit v1.1 From 72a0fb0963885ee0793854d84e79f272bd4f4f5f Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Mon, 7 Sep 2009 17:01:47 -0700 Subject: Fixed tool brush size --- linden/scripts/messages/message_template.msg | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'linden/scripts') diff --git a/linden/scripts/messages/message_template.msg b/linden/scripts/messages/message_template.msg index 6d90622..4a16cf8 100644 --- a/linden/scripts/messages/message_template.msg +++ b/linden/scripts/messages/message_template.msg @@ -594,7 +594,7 @@ version 2.0 // global x,y,z. Otherwise, use center of the AABB. // reliable { - PlacesReply Low 30 Trusted Zerocoded + PlacesReply Low 30 Trusted Zerocoded UDPDeprecated { AgentData Single { AgentID LLUUID } @@ -1036,7 +1036,7 @@ version 2.0 // dataserver -> simulator -> viewer // reliable { - DirLandReply Low 50 Trusted Zerocoded + DirLandReply Low 50 Trusted Zerocoded UDPDeprecated { AgentData Single { AgentID LLUUID } @@ -2589,6 +2589,10 @@ version 2.0 { East F32 } { North F32 } } + { + ModifyBlockExtended Variable + { BrushSize F32 } + } } @@ -8717,7 +8721,7 @@ version 2.0 // spaceserver -> simulator { - RpcScriptRequestInboundForward Low 416 Trusted Unencoded + RpcScriptRequestInboundForward Low 416 Trusted Unencoded UDPDeprecated { DataBlock Single { RPCServerIP IPADDR } -- cgit v1.1