Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
cloudooo
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
1
Merge Requests
1
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
Jérome Perrin
cloudooo
Commits
52b5a4ef
Commit
52b5a4ef
authored
May 24, 2011
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify and reorganise, Use util.util was overkill.
parent
090824b3
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
17 additions
and
17 deletions
+17
-17
cloudooo/handler/ffmpeg/handler.py
cloudooo/handler/ffmpeg/handler.py
+1
-1
cloudooo/handler/ooo/application/application.py
cloudooo/handler/ooo/application/application.py
+2
-2
cloudooo/handler/ooo/application/openoffice.py
cloudooo/handler/ooo/application/openoffice.py
+2
-2
cloudooo/handler/ooo/granulator.py
cloudooo/handler/ooo/granulator.py
+1
-1
cloudooo/handler/ooo/handler.py
cloudooo/handler/ooo/handler.py
+1
-1
cloudooo/handler/ooo/monitor/memory.py
cloudooo/handler/ooo/monitor/memory.py
+1
-1
cloudooo/handler/ooo/monitor/request.py
cloudooo/handler/ooo/monitor/request.py
+1
-1
cloudooo/handler/ooo/monitor/sleeping_time.py
cloudooo/handler/ooo/monitor/sleeping_time.py
+1
-1
cloudooo/handler/ooo/monitor/timeout.py
cloudooo/handler/ooo/monitor/timeout.py
+1
-1
cloudooo/handler/ooo/tests/testOpenOffice.py
cloudooo/handler/ooo/tests/testOpenOffice.py
+1
-1
cloudooo/handler/ooo/tests/testUtil.py
cloudooo/handler/ooo/tests/testUtil.py
+1
-1
cloudooo/handler/ooo/util.py
cloudooo/handler/ooo/util.py
+1
-1
cloudooo/handler/ooo/util/__init__.py
cloudooo/handler/ooo/util/__init__.py
+0
-0
cloudooo/manager.py
cloudooo/manager.py
+1
-1
cloudooo/mime.types
cloudooo/mime.types
+0
-0
cloudooo/paster_application.py
cloudooo/paster_application.py
+1
-1
cloudooo/tests/runHandlerUnitTest.py
cloudooo/tests/runHandlerUnitTest.py
+1
-1
cloudooo/util.py
cloudooo/util.py
+0
-0
cloudooo/util/__init__.py
cloudooo/util/__init__.py
+0
-0
No files found.
cloudooo/handler/ffmpeg/handler.py
View file @
52b5a4ef
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
from
zope.interface
import
implements
from
zope.interface
import
implements
from
cloudooo.interfaces.handler
import
IHandler
from
cloudooo.interfaces.handler
import
IHandler
from
cloudooo.file
import
File
from
cloudooo.file
import
File
from
cloudooo.util
.util
import
logger
from
cloudooo.util
import
logger
from
subprocess
import
Popen
,
PIPE
from
subprocess
import
Popen
,
PIPE
from
tempfile
import
mktemp
from
tempfile
import
mktemp
...
...
cloudooo/handler/ooo/application/application.py
View file @
52b5a4ef
...
@@ -28,8 +28,8 @@
...
@@ -28,8 +28,8 @@
from
zope.interface
import
implements
from
zope.interface
import
implements
from
cloudooo.interfaces.application
import
IApplication
from
cloudooo.interfaces.application
import
IApplication
from
cloudooo.util
.util
import
logger
from
cloudooo.util
import
logger
from
cloudooo.handler.ooo.util
.util
import
waitStopDaemon
from
cloudooo.handler.ooo.util
import
waitStopDaemon
from
psutil
import
pid_exists
,
Process
,
AccessDenied
from
psutil
import
pid_exists
,
Process
,
AccessDenied
...
...
cloudooo/handler/ooo/application/openoffice.py
View file @
52b5a4ef
...
@@ -34,8 +34,8 @@ from threading import Lock
...
@@ -34,8 +34,8 @@ from threading import Lock
from
zope.interface
import
implements
from
zope.interface
import
implements
from
application
import
Application
from
application
import
Application
from
cloudooo.interfaces.lockable
import
ILockable
from
cloudooo.interfaces.lockable
import
ILockable
from
cloudooo.util
.util
import
logger
,
convertStringToBool
from
cloudooo.util
import
logger
,
convertStringToBool
from
cloudooo.handler.ooo.util
.util
import
waitStartDaemon
,
\
from
cloudooo.handler.ooo.util
import
waitStartDaemon
,
\
removeDirectory
,
waitStopDaemon
,
\
removeDirectory
,
waitStopDaemon
,
\
socketStatus
socketStatus
...
...
cloudooo/handler/ooo/granulator.py
View file @
52b5a4ef
...
@@ -30,7 +30,7 @@ from zipfile import ZipFile
...
@@ -30,7 +30,7 @@ from zipfile import ZipFile
from
StringIO
import
StringIO
from
StringIO
import
StringIO
from
lxml
import
etree
from
lxml
import
etree
from
os
import
path
from
os
import
path
from
cloudooo.util
.util
import
logger
from
cloudooo.util
import
logger
from
cloudooo.handler.ooo.document
import
OdfDocument
from
cloudooo.handler.ooo.document
import
OdfDocument
# URI Definitions.
# URI Definitions.
...
...
cloudooo/handler/ooo/handler.py
View file @
52b5a4ef
...
@@ -39,7 +39,7 @@ from cloudooo.handler.ooo.mimemapper import mimemapper
...
@@ -39,7 +39,7 @@ from cloudooo.handler.ooo.mimemapper import mimemapper
from
cloudooo.handler.ooo.document
import
FileSystemDocument
from
cloudooo.handler.ooo.document
import
FileSystemDocument
from
cloudooo.handler.ooo.monitor.timeout
import
MonitorTimeout
from
cloudooo.handler.ooo.monitor.timeout
import
MonitorTimeout
from
cloudooo.handler.ooo.monitor
import
monitor_sleeping_time
from
cloudooo.handler.ooo.monitor
import
monitor_sleeping_time
from
cloudooo.util
.util
import
logger
from
cloudooo.util
import
logger
from
psutil
import
pid_exists
from
psutil
import
pid_exists
...
...
cloudooo/handler/ooo/monitor/memory.py
View file @
52b5a4ef
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
from
monitor
import
Monitor
from
monitor
import
Monitor
from
multiprocessing
import
Process
from
multiprocessing
import
Process
import
psutil
import
psutil
from
cloudooo.util
.util
import
logger
from
cloudooo.util
import
logger
from
time
import
sleep
from
time
import
sleep
...
...
cloudooo/handler/ooo/monitor/request.py
View file @
52b5a4ef
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
from
monitor
import
Monitor
from
monitor
import
Monitor
from
threading
import
Thread
from
threading
import
Thread
from
cloudooo.util
.util
import
logger
from
cloudooo.util
import
logger
from
time
import
sleep
from
time
import
sleep
...
...
cloudooo/handler/ooo/monitor/sleeping_time.py
View file @
52b5a4ef
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
from
monitor
import
Monitor
from
monitor
import
Monitor
from
threading
import
Thread
from
threading
import
Thread
from
cloudooo.util
.util
import
logger
from
cloudooo.util
import
logger
from
time
import
sleep
,
time
from
time
import
sleep
,
time
...
...
cloudooo/handler/ooo/monitor/timeout.py
View file @
52b5a4ef
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
from
monitor
import
Monitor
from
monitor
import
Monitor
from
multiprocessing
import
Process
from
multiprocessing
import
Process
from
time
import
sleep
from
time
import
sleep
from
cloudooo.util
.util
import
logger
from
cloudooo.util
import
logger
class
MonitorTimeout
(
Monitor
,
Process
):
class
MonitorTimeout
(
Monitor
,
Process
):
...
...
cloudooo/handler/ooo/tests/testOpenOffice.py
View file @
52b5a4ef
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
from
cloudooo.tests.handlerTestCase
import
HandlerTestCase
,
make_suite
from
cloudooo.tests.handlerTestCase
import
HandlerTestCase
,
make_suite
from
cloudooo.handler.ooo.application.openoffice
import
OpenOffice
from
cloudooo.handler.ooo.application.openoffice
import
OpenOffice
from
cloudooo.handler.ooo.util
.util
import
waitStopDaemon
from
cloudooo.handler.ooo.util
import
waitStopDaemon
OPENOFFICE
=
True
OPENOFFICE
=
True
...
...
cloudooo/handler/ooo/tests/testUtil.py
View file @
52b5a4ef
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
import
unittest
import
unittest
import
logging
import
logging
from
cloudooo
.util
import
util
from
cloudooo
import
util
from
cloudooo.tests.handlerTestCase
import
make_suite
from
cloudooo.tests.handlerTestCase
import
make_suite
import
mimetypes
import
mimetypes
...
...
cloudooo/handler/ooo/util
/util
.py
→
cloudooo/handler/ooo/util.py
View file @
52b5a4ef
...
@@ -31,7 +31,7 @@ from errno import EADDRINUSE
...
@@ -31,7 +31,7 @@ from errno import EADDRINUSE
from
time
import
sleep
from
time
import
sleep
from
os
import
remove
from
os
import
remove
from
shutil
import
rmtree
from
shutil
import
rmtree
from
cloudooo.util
.util
import
logger
from
cloudooo.util
import
logger
def
removeDirectory
(
path
):
def
removeDirectory
(
path
):
...
...
cloudooo/handler/ooo/util/__init__.py
deleted
100644 → 0
View file @
090824b3
cloudooo/manager.py
View file @
52b5a4ef
...
@@ -32,7 +32,7 @@ from mimetypes import guess_all_extensions, guess_extension
...
@@ -32,7 +32,7 @@ from mimetypes import guess_all_extensions, guess_extension
from
base64
import
encodestring
,
decodestring
from
base64
import
encodestring
,
decodestring
from
zope.interface
import
implements
from
zope.interface
import
implements
from
interfaces.manager
import
IManager
,
IERP5Compatibility
from
interfaces.manager
import
IManager
,
IERP5Compatibility
from
util
.util
import
logger
from
cloudooo
.util
import
logger
from
cloudooo.interfaces.granulate
import
ITableGranulator
from
cloudooo.interfaces.granulate
import
ITableGranulator
from
cloudooo.interfaces.granulate
import
IImageGranulator
from
cloudooo.interfaces.granulate
import
IImageGranulator
from
cloudooo.interfaces.granulate
import
ITextGranulator
from
cloudooo.interfaces.granulate
import
ITextGranulator
...
...
cloudooo/
util/
mime.types
→
cloudooo/mime.types
View file @
52b5a4ef
File moved
cloudooo/paster_application.py
View file @
52b5a4ef
...
@@ -30,7 +30,7 @@ import gc
...
@@ -30,7 +30,7 @@ import gc
from
os
import
path
,
mkdir
,
environ
from
os
import
path
,
mkdir
,
environ
from
cloudooo.wsgixmlrpcapplication
import
WSGIXMLRPCApplication
from
cloudooo.wsgixmlrpcapplication
import
WSGIXMLRPCApplication
from
cloudooo
.util
import
util
from
cloudooo
import
util
def
application
(
global_config
,
**
local_config
):
def
application
(
global_config
,
**
local_config
):
...
...
cloudooo/tests/runHandlerUnitTest.py
View file @
52b5a4ef
...
@@ -9,7 +9,7 @@ from ConfigParser import ConfigParser
...
@@ -9,7 +9,7 @@ from ConfigParser import ConfigParser
from
argparse
import
ArgumentParser
from
argparse
import
ArgumentParser
from
os
import
chdir
,
path
,
environ
,
curdir
,
remove
from
os
import
chdir
,
path
,
environ
,
curdir
,
remove
import
psutil
import
psutil
from
cloudooo.handler.ooo.util
.util
import
socketStatus
from
cloudooo.handler.ooo.util
import
socketStatus
from
signal
import
SIGQUIT
from
signal
import
SIGQUIT
...
...
cloudooo/util
/util
.py
→
cloudooo/util.py
View file @
52b5a4ef
File moved
cloudooo/util/__init__.py
deleted
100644 → 0
View file @
090824b3
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