Files @ bf5c2c75c976
Branch filter:

Location: kallithea/rhodecode/lib/dbmigrate/schema/__init__.py

Marcin Kuzminski
fixes issue #856 file upload >1000 bytes on windows throws exception.

The returned object is a true file object on POSIX platforms.
On other platforms, it is a file-like object whose `file` attribute is the
underlying true file object. We check if such object has a file attribute
which is missing on POSIX platform
# -*- coding: utf-8 -*-
"""
    rhodecode.lib.dbmigrate.schema
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


    Schemas for migrations


    :created_on: Nov 1, 2011
    :author: marcink
    :copyright: (C) 2009-2010 Marcin Kuzminski <marcin@python-works.com>
    :license: <name>, see LICENSE_FILE for more details.
"""