| Index: Tools/Scripts/webkitpy/thirdparty/webpagereplay/third_party/__init__.py
|
| diff --git a/Tools/Scripts/webkitpy/thirdparty/webpagereplay/third_party/__init__.py b/Tools/Scripts/webkitpy/thirdparty/webpagereplay/third_party/__init__.py
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4c25edab15edc9c0b5a08e23ebb155b144f9d141
|
| --- /dev/null
|
| +++ b/Tools/Scripts/webkitpy/thirdparty/webpagereplay/third_party/__init__.py
|
| @@ -0,0 +1,25 @@
|
| +# Copyright 2010 Google Inc. All Rights Reserved.
|
| +#
|
| +# Licensed under the Apache License, Version 2.0 (the "License");
|
| +# you may not use this file except in compliance with the License.
|
| +# You may obtain a copy of the License at
|
| +#
|
| +# http://www.apache.org/licenses/LICENSE-2.0
|
| +#
|
| +# Unless required by applicable law or agreed to in writing, software
|
| +# distributed under the License is distributed on an "AS IS" BASIS,
|
| +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| +# See the License for the specific language governing permissions and
|
| +# limitations under the License.
|
| +
|
| +import os
|
| +import sys
|
| +
|
| +try:
|
| + __file__
|
| +except NameError:
|
| + __file__ = sys.argv[0]
|
| +third_party_dir = os.path.dirname(os.path.abspath(__file__))
|
| +ipaddr_dir = os.path.join(third_party_dir, "ipaddr")
|
| +sys.path.append(ipaddr_dir) # workaround for no __init__.py
|
| +sys.path.append(third_party_dir)
|
|
|