quiet warning & minor pep8 edits.

This commit is contained in:
Campbell Barton 2011-04-04 22:42:43 +00:00
parent b3bc0040d8
commit 162d02bf50
7 changed files with 17 additions and 11 deletions

@ -125,7 +125,6 @@ def cmake_advanced_info():
defines = []
create_eclipse_project(CMAKE_DIR)
from xml.dom.minidom import parse

@ -1,4 +1,4 @@
.TH "BLENDER" "1" "January 27, 2011" "Blender Blender 2\&.56 (sub 0) "
.TH "BLENDER" "1" "April 05, 2011" "Blender Blender 2\&.56 (sub 6)"
.SH NAME
blender \- a 3D modelling and rendering package
@ -15,7 +15,7 @@ Use Blender to create TV commercials, to make technical visualizations, business
http://www.blender.org
.SH OPTIONS
Blender 2.56 (sub 0) Build
Blender 2.56 (sub 6)
Usage: blender [args ...] [file] [args ...]
.br
.SS "Render Options:"
@ -347,7 +347,13 @@ Playback <file(s)>, only operates this way when not running in background.
.TP
.B \-R
.br
Register .blend extension (windows only)
Register .blend extension, then exit (Windows only)
.br
.TP
.B \-r
.br
Silently register .blend extension, then exit (Windows only)
.br
.SS "Argument Parsing:"
@ -377,7 +383,6 @@ Arguments are executed in the order they are given. eg
\fIBLENDER_SYSTEM_DATAFILES\fR Directory for system wide data files.
\fIBLENDER_SYSTEM_PYTHON\fR Directory for system python libraries.
\fITMP\fR or \fITMPDIR\fR Store temporary files here.
\fISDL_AUDIODRIVER\fR LibSDL audio driver \- alsa, esd, dma.
\fIPYTHONHOME\fR Path to the python directory, eg. /usr/lib/python.
.br
.br

@ -1028,7 +1028,6 @@ static int ptcache_file_compressed_read(PTCacheFile *pf, unsigned char *result,
size_t in_len;
#ifdef WITH_LZO
size_t out_len = len;
size_t sizeOfIt = 5;
#endif
unsigned char *in;
unsigned char *props = MEM_callocN(16*sizeof(char), "tmp");
@ -1051,6 +1050,7 @@ static int ptcache_file_compressed_read(PTCacheFile *pf, unsigned char *result,
#ifdef WITH_LZMA
if(compressed == 2)
{
size_t sizeOfIt;
size_t leni = in_len, leno = out_len;
ptcache_file_read(pf, &size, 1, sizeof(unsigned int));
sizeOfIt = (size_t)size;

@ -170,7 +170,9 @@ def main():
md5_update = md5_instance.update
for f in md5_source:
md5_update(open(f, "rb").read())
filehandle = open(f, "rb")
md5_update(filehandle.read())
filehandle.close()
md5_new = md5_instance.hexdigest()