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
Rafael Monnerat
slapos.buildout
Commits
e0697763
Commit
e0697763
authored
Dec 05, 2006
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Physical directory sizes can vary accross platforms.
Use the logical size instead.
parent
331f2274
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/zc/buildout/buildout.txt
src/zc/buildout/buildout.txt
+2
-2
No files found.
src/zc/buildout/buildout.txt
View file @
e0697763
...
@@ -953,7 +953,7 @@ mkdir recipe introduced earlier.
...
@@ -953,7 +953,7 @@ mkdir recipe introduced earlier.
... import os
... import os
... def backup_directory(name, options):
... def backup_directory(name, options):
... path = options['path']
... path = options['path']
... size =
os.stat(path).st_size
... size =
len(os.listdir(path))
... print "backing up directory %s of size %s" % (path, size)
... print "backing up directory %s of size %s" % (path, size)
... """)
... """)
...
@@ -1024,7 +1024,7 @@ is run before the directory is deleted.
...
@@ -1024,7 +1024,7 @@ is run before the directory is deleted.
buildout: Develop: /sample-buildout/recipes
buildout: Develop: /sample-buildout/recipes
buildout: Uninstalling dir
buildout: Uninstalling dir
buildout: Running uninstall recipe
buildout: Running uninstall recipe
backing up directory /sample-buildout/my_directory of size
4096
backing up directory /sample-buildout/my_directory of size
0
buildout: Updating debug
buildout: Updating debug
recipe recipes:debug
recipe recipes:debug
<BLANKLINE>
<BLANKLINE>
...
...
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