diff options
author | Justin Clark-Casey (justincc) | 2011-05-06 22:13:56 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-05-06 22:13:56 +0100 |
commit | 913e6b70c66d7c8f2e273f057995dc20d6a0e8a5 (patch) | |
tree | 0e5bea9e7d1e6a2842479e47858622a734fa2cd3 /OpenSim/Services/AssetService/AssetService.cs | |
parent | on asset "show digest" command, print out the asset type name (e.g. texture) ... (diff) | |
download | opensim-SC_OLD-913e6b70c66d7c8f2e273f057995dc20d6a0e8a5.zip opensim-SC_OLD-913e6b70c66d7c8f2e273f057995dc20d6a0e8a5.tar.gz opensim-SC_OLD-913e6b70c66d7c8f2e273f057995dc20d6a0e8a5.tar.bz2 opensim-SC_OLD-913e6b70c66d7c8f2e273f057995dc20d6a0e8a5.tar.xz |
minor: slightly shorten "show digest" printing code
Diffstat (limited to 'OpenSim/Services/AssetService/AssetService.cs')
-rw-r--r-- | OpenSim/Services/AssetService/AssetService.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Services/AssetService/AssetService.cs b/OpenSim/Services/AssetService/AssetService.cs index 03b660d..851b7b4 100644 --- a/OpenSim/Services/AssetService/AssetService.cs +++ b/OpenSim/Services/AssetService/AssetService.cs | |||
@@ -254,11 +254,11 @@ namespace OpenSim.Services.AssetService | |||
254 | 254 | ||
255 | int i; | 255 | int i; |
256 | 256 | ||
257 | MainConsole.Instance.Output(String.Format("Name: {0}", asset.Name)); | 257 | MainConsole.Instance.OutputFormat("Name: {0}", asset.Name); |
258 | MainConsole.Instance.Output(String.Format("Description: {0}", asset.Description)); | 258 | MainConsole.Instance.OutputFormat("Description: {0}", asset.Description); |
259 | MainConsole.Instance.Output(String.Format("Type: {0} (type number = {1})", (AssetType)asset.Type, asset.Type)); | 259 | MainConsole.Instance.OutputFormat("Type: {0} (type number = {1})", (AssetType)asset.Type, asset.Type); |
260 | MainConsole.Instance.Output(String.Format("Content-type: {0}", asset.Metadata.ContentType)); | 260 | MainConsole.Instance.OutputFormat("Content-type: {0}", asset.Metadata.ContentType); |
261 | MainConsole.Instance.Output(String.Format("Flags: {0}", asset.Metadata.Flags.ToString())); | 261 | MainConsole.Instance.OutputFormat("Flags: {0}", asset.Metadata.Flags); |
262 | 262 | ||
263 | for (i = 0 ; i < 5 ; i++) | 263 | for (i = 0 ; i < 5 ; i++) |
264 | { | 264 | { |