Skip to content

Instantly share code, notes, and snippets.

@keshavab
Created September 22, 2014 16:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keshavab/d33b2b69fb67672f001f to your computer and use it in GitHub Desktop.
Save keshavab/d33b2b69fb67672f001f to your computer and use it in GitHub Desktop.
swift/swift/obj/server.py
import cPickle as pickle
import os
import multiprocessing
import time
import traceback
import socket
import math
from swift import gettext_ as _
from hashlib import md5
from eventlet import sleep, Timeout
# not followed
{{stdlib imports in human alphabetical order}}
\n
{{third-party lib imports in human alphabetical order}}
\n
{{project imports in human alphabetical order}}
\n
\n
{{begin your code}}
[H302] Do not import objects, only modules (*)
[H301] Do not import more than one module per line (*)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment