Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Łukasz Nowak
slapos.buildout
Commits
b3bd62a7
Commit
b3bd62a7
authored
Jun 01, 2008
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
providing useful default values in order to get around an
AttributeError: Buildout instance has no attribute '_logger'
parent
5871209a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
1 deletion
+16
-1
CHANGES.txt
CHANGES.txt
+7
-0
setup.py
setup.py
+1
-1
src/zc/buildout/buildout.py
src/zc/buildout/buildout.py
+8
-0
No files found.
CHANGES.txt
View file @
b3bd62a7
...
...
@@ -3,6 +3,12 @@ Status
Change History
**************
1.0.3 (2008-06-01)
==================
- fix for """AttributeError: Buildout instance has no attribute '_logger'"""
by providing reasonable defaults within the Buildout constructor.
(patch by Gottfried Ganssauge) (ajung)
1.0.2 (2008-05-13)
==================
...
...
@@ -11,6 +17,7 @@ Change History
.exe files work with a Python executable in 'program files'.
- Added "-t <timeout_in_seconds>" option for specifying the socket timeout.
(ajung)
1.0.1 (2008-04-02)
==================
...
...
setup.py
View file @
b3bd62a7
...
...
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
version
=
"1.0.3
-dev
"
version
=
"1.0.3"
import
os
from
setuptools
import
setup
,
find_packages
...
...
src/zc/buildout/buildout.py
View file @
b3bd62a7
...
...
@@ -122,6 +122,14 @@ class Buildout(UserDict.DictMixin):
self
.
_raw
=
data
self
.
_data
=
{}
self
.
_parts
=
[]
# provide some defaults before options are parsed
# because while parsing options those attributes might be
# used already (Gottfried Ganssauage)
self
.
_links
=
()
self
.
_buildout_dir
=
os
.
getcwd
()
self
.
_logger
=
logging
.
getLogger
(
'zc.buildout'
)
self
.
offline
=
False
self
.
newest
=
True
# initialize some attrs and buildout directories.
options
=
self
[
'buildout'
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment