Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
476f5496
Commit
476f5496
authored
8 years ago
by
Callum Prentice
Browse files
Options
Downloads
Plain Diff
Merge with fix to run packages-formatter
parents
be04be34
199d3c56
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/cmake/BuildPackagesInfo.cmake
+9
-1
9 additions, 1 deletion
indra/cmake/BuildPackagesInfo.cmake
indra/llcorehttp/tests/test_llcorehttp_peer.py
+2
-4
2 additions, 4 deletions
indra/llcorehttp/tests/test_llcorehttp_peer.py
with
11 additions
and
5 deletions
indra/cmake/BuildPackagesInfo.cmake
+
9
−
1
View file @
476f5496
...
@@ -2,9 +2,17 @@
...
@@ -2,9 +2,17 @@
# Construct the version and copyright information based on package data.
# Construct the version and copyright information based on package data.
include
(
Python
)
include
(
Python
)
# packages-formatter.py runs autobuild install --versions, which needs to know
# the build_directory, which (on Windows) depends on AUTOBUILD_ADDRSIZE.
# Within an autobuild build, AUTOBUILD_ADDRSIZE is already set. But when
# building in an IDE, it probably isn't. Set it explicitly using
# run_build_test.py.
add_custom_command
(
OUTPUT packages-info.txt
add_custom_command
(
OUTPUT packages-info.txt
COMMENT Generating packages-info.txt for the about box
COMMENT Generating packages-info.txt for the about box
MAIN_DEPENDENCY
${
CMAKE_SOURCE_DIR
}
/../autobuild.xml
MAIN_DEPENDENCY
${
CMAKE_SOURCE_DIR
}
/../autobuild.xml
DEPENDS
${
CMAKE_SOURCE_DIR
}
/../scripts/packages-formatter.py
DEPENDS
${
CMAKE_SOURCE_DIR
}
/../scripts/packages-formatter.py
COMMAND
${
PYTHON_EXECUTABLE
}
${
CMAKE_SOURCE_DIR
}
/../scripts/packages-formatter.py > packages-info.txt
COMMAND
${
PYTHON_EXECUTABLE
}
${
CMAKE_SOURCE_DIR
}
/cmake/run_build_test.py -DAUTOBUILD_ADDRSIZE=
${
ADDRESS_SIZE
}
${
PYTHON_EXECUTABLE
}
${
CMAKE_SOURCE_DIR
}
/../scripts/packages-formatter.py > packages-info.txt
)
)
This diff is collapsed.
Click to expand it.
indra/llcorehttp/tests/test_llcorehttp_peer.py
+
2
−
4
View file @
476f5496
...
@@ -40,7 +40,6 @@
...
@@ -40,7 +40,6 @@
except
ImportError
:
except
ImportError
:
from
StringIO
import
StringIO
from
StringIO
import
StringIO
from
BaseHTTPServer
import
HTTPServer
,
BaseHTTPRequestHandler
from
BaseHTTPServer
import
HTTPServer
,
BaseHTTPRequestHandler
from
SocketServer
import
ThreadingMixIn
from
llbase.fastest_elementtree
import
parse
as
xml_parse
from
llbase.fastest_elementtree
import
parse
as
xml_parse
from
llbase
import
llsd
from
llbase
import
llsd
...
@@ -274,7 +273,7 @@ def log_error(self, format, *args):
...
@@ -274,7 +273,7 @@ def log_error(self, format, *args):
# Suppress error output as well
# Suppress error output as well
pass
pass
class
Server
(
ThreadingMixIn
,
HTTPServer
):
class
Server
(
HTTPServer
):
# This pernicious flag is on by default in HTTPServer. But proper
# This pernicious flag is on by default in HTTPServer. But proper
# operation of freeport() absolutely depends on it being off.
# operation of freeport() absolutely depends on it being off.
allow_reuse_address
=
False
allow_reuse_address
=
False
...
@@ -284,8 +283,7 @@ class Server(ThreadingMixIn, HTTPServer):
...
@@ -284,8 +283,7 @@ class Server(ThreadingMixIn, HTTPServer):
# to stderr which annoys some. Disable this override to get
# to stderr which annoys some. Disable this override to get
# default behavior which *shouldn't* cause the program to return
# default behavior which *shouldn't* cause the program to return
# a failure status.
# a failure status.
if
not
VERBOSE
:
def
handle_error
(
self
,
request
,
client_address
):
def
handle_error
(
self
,
request
,
client_address
):
print
'
-
'
*
40
print
'
-
'
*
40
print
'
Ignoring exception during processing of request from
'
,
print
'
Ignoring exception during processing of request from
'
,
print
client_address
print
client_address
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment