hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
1f6bfd7776d9e04504de78335126258e9a2bf2f4
diff --git a/source/org/jasig/portal/DBImpl.java b/source/org/jasig/portal/DBImpl.java index <HASH>..<HASH> 100644 --- a/source/org/jasig/portal/DBImpl.java +++ b/source/org/jasig/portal/DBImpl.java @@ -1188,19 +1188,16 @@ public class DBImpl */ public synchronized int getIncrementIntegerId(String tableName) t...
next ID function was trying to parse a string for no reason git-svn-id: <URL>
Jasig_uPortal
train
java
837cfc244e44c20eabb7306d3685f45caf586419
diff --git a/version/version.go b/version/version.go index <HASH>..<HASH> 100644 --- a/version/version.go +++ b/version/version.go @@ -6,12 +6,12 @@ const ( // VersionMajor is for an API incompatible changes VersionMajor = 5 // VersionMinor is for functionality in a backwards-compatible manner - VersionMinor = 3 ...
<I> * Expose image variant * A set of dependency updates
containers_image
train
go
95708d3aad722ce612790a7f34294fe3049ab853
diff --git a/ModelBundle/Document/Content.php b/ModelBundle/Document/Content.php index <HASH>..<HASH> 100644 --- a/ModelBundle/Document/Content.php +++ b/ModelBundle/Document/Content.php @@ -240,6 +240,8 @@ class Content implements ContentInterface $this->id = null; $this->useReferences = array(); ...
fix clone content reset date (#<I>)
open-orchestra_open-orchestra-model-bundle
train
php
79329c81938eb69da1127ee964d3f52ae3fda9f3
diff --git a/lib/formtastic/util.rb b/lib/formtastic/util.rb index <HASH>..<HASH> 100644 --- a/lib/formtastic/util.rb +++ b/lib/formtastic/util.rb @@ -42,7 +42,7 @@ module Formtastic end def deprecated_version_of_rails? - const_defined?(:Rails) && rails_version < Gem::Version.new("3.2.13") + r...
no longer have to check for Rails here
justinfrench_formtastic
train
rb
db26b1a1e66477a6f526dac56ecaaa50d2cf4700
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -97,6 +97,10 @@ function wrapInControlFlow(globalFn, fnName) { } }, flow); }, 'Run ' + fnName + description + ' in control flow').then(seal(done), function(err) { + if (!err) { + ...
fix(stacktrace): do not crash if beforeEach block is rejected without any stated reason (#<I>) Closes #<I>
angular_jasminewd
train
js
e6c11df4d0d7828e05917eebcbfb9b7acc1a41ed
diff --git a/javascript/webdriver/http/http.js b/javascript/webdriver/http/http.js index <HASH>..<HASH> 100644 --- a/javascript/webdriver/http/http.js +++ b/javascript/webdriver/http/http.js @@ -109,7 +109,6 @@ webdriver.http.Executor.prototype.execute = function(command, callback) { */ webdriver.http.Executor.build...
JasonLeyba: Remove console.log statement that snuck in with r<I> r<I>
SeleniumHQ_selenium
train
js
a7e6df9654bb526ed3d88d44fef44bf2a9ae493d
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from setuptools import setup -version = "0.3.1" +version = "0.4.0" setup( name="arxiv",
Increment version to <I> for release
lukasschwab_arxiv.py
train
py
ad917a280cbb520f94a7b247c302025e641545ba
diff --git a/src/howler.core.js b/src/howler.core.js index <HASH>..<HASH> 100644 --- a/src/howler.core.js +++ b/src/howler.core.js @@ -1705,7 +1705,7 @@ // If we are using IE and there was network latency we may be clipping // audio before it completes playing. Lets check the node to make sure it /...
Check for paused instead of ended to also handle data uri's Fixes #<I>
goldfire_howler.js
train
js
b683d6bf9e89b757ad931ba207eb47b9e24c602b
diff --git a/mama_cas/tests/views.py b/mama_cas/tests/views.py index <HASH>..<HASH> 100644 --- a/mama_cas/tests/views.py +++ b/mama_cas/tests/views.py @@ -471,6 +471,7 @@ class ServiceValidateViewTests(TestCase): self.assertEqual(response.status_code, 200) self.assertEqual(response.get('Content-Type...
Add explicit tests to ensure attribute lists are populated
jbittel_django-mama-cas
train
py
0dcaeb21a2185ac23303d1902d0877d94f19c091
diff --git a/tests/master_test.py b/tests/master_test.py index <HASH>..<HASH> 100644 --- a/tests/master_test.py +++ b/tests/master_test.py @@ -1,3 +1,4 @@ +import inspect import unittest2 @@ -9,8 +10,10 @@ class ScanCodeImportsTest(unittest2.TestCase): func = staticmethod(mitogen.master.scan_code_imports) ...
master_test: Don't assume __file__ points to source code When run under a test runner the unit tests are imported as modules. This triggers .pyc generation, after which __file__ resolves to the .pyc file.
dw_mitogen
train
py
39126724bbc412fdd1fe0930928109bb7230afed
diff --git a/validator/submain.py b/validator/submain.py index <HASH>..<HASH> 100644 --- a/validator/submain.py +++ b/validator/submain.py @@ -102,7 +102,7 @@ def test_webapp(err, package, expectation=0): err.notice(("main", "test_webapp", "confirmed"), - ...
reworded Web app to App
mozilla_amo-validator
train
py
f61909492ea92e63c1f4748c3da399757a5062e9
diff --git a/worker/uniter/runner/runner.go b/worker/uniter/runner/runner.go index <HASH>..<HASH> 100644 --- a/worker/uniter/runner/runner.go +++ b/worker/uniter/runner/runner.go @@ -434,7 +434,7 @@ func (runner *runner) runCharmHookWithLocation(hookName, charmLocation string, r hookName, runner.paths.GetCharmDir()...
It is a 'but' not an 'and'
juju_juju
train
go
a940a522ef67052f7a1959f151d323f6a376be80
diff --git a/pymc/plots.py b/pymc/plots.py index <HASH>..<HASH> 100644 --- a/pymc/plots.py +++ b/pymc/plots.py @@ -73,7 +73,7 @@ def traceplot(trace, vars=None, figsize=None, try: ax[i, 0].axvline(x=lines[v], color="r", lw=1.5) ax[i, 1].axhline(y=lines[v], colo...
Use `KeyError` instead of `exceptions.KeyError` Using `exceptions.KeyError` will lead to a `NameError`. `KeyError` should be used instead because `KeyError` is already in builtins namespace and because the exceptions module is not present in Python 3. This fixes #<I>.
pymc-devs_pymc
train
py
e5c3907bd68b2817660f6e3bf3b3386ff640d1cf
diff --git a/pandas/tests/frame/test_indexing.py b/pandas/tests/frame/test_indexing.py index <HASH>..<HASH> 100644 --- a/pandas/tests/frame/test_indexing.py +++ b/pandas/tests/frame/test_indexing.py @@ -3856,3 +3856,28 @@ class TestDataFrameIndexingCategorical: df["group"] = pd.cut( df.val...
TST: add test for .loc indexing Index type preservation (#<I>)
pandas-dev_pandas
train
py
a5a23afbcab878a58a45e58ba719184ebee28990
diff --git a/src/Services/EbreEscoolMigrator.php b/src/Services/EbreEscoolMigrator.php index <HASH>..<HASH> 100644 --- a/src/Services/EbreEscoolMigrator.php +++ b/src/Services/EbreEscoolMigrator.php @@ -371,15 +371,15 @@ class EbreEscoolMigrator implements Migrator $this->setDestinationConnectionByPeriod($...
Solved error migrating all enrollments instead of active on academic period enrollments
acacha_ebre_escool_model
train
php
cf5f4386ef6fea9179bbaaec2e187917934759d7
diff --git a/tests/test_black.py b/tests/test_black.py index <HASH>..<HASH> 100644 --- a/tests/test_black.py +++ b/tests/test_black.py @@ -9,7 +9,5 @@ code_root = Path(__file__).parent.parent def test_black(): runner = CliRunner() - result = runner.invoke( - black.main, [str(code_root / "tests"), str(...
Run black against everything, not just tests and datasette dirs
simonw_datasette
train
py
afc431998d0acb6be5a0472f844e038142af98f7
diff --git a/parse_rest/tests.py b/parse_rest/tests.py index <HASH>..<HASH> 100755 --- a/parse_rest/tests.py +++ b/parse_rest/tests.py @@ -520,6 +520,13 @@ class TestUser(unittest.TestCase): ) current_user = User.current_user() + + register( + getattr(settings_local, 'APPLICATION_I...
Re-register with parse server in test to Fix #<I> The last 4 unit tests fail when run in series, but not if they were run individually. The test for testCanGetCurrentUser registers the service using the session token which loses the previous registration. The other tests require that they are registered with the maste...
milesrichardson_ParsePy
train
py
a520c5e3f6cbb06b5902b3021db6b024b085408a
diff --git a/lib/puppet/type/zpool.rb b/lib/puppet/type/zpool.rb index <HASH>..<HASH> 100755 --- a/lib/puppet/type/zpool.rb +++ b/lib/puppet/type/zpool.rb @@ -4,6 +4,7 @@ module Puppet class VDev < Property def flatten_and_sort(array) + array = [array] unless array.is_a? Array array.collec...
(#<I>) Handle case where array is actually a string Another case where in Ruby <I> you can call enumerable methods on strings that you can't in Ruby <I>. undefined method `collect' for "dev2 dev1":String
puppetlabs_puppet
train
rb
a559376acd3af31eee2c632f24ec40b2861b02d9
diff --git a/src/resolvelib/structs.py b/src/resolvelib/structs.py index <HASH>..<HASH> 100644 --- a/src/resolvelib/structs.py +++ b/src/resolvelib/structs.py @@ -116,7 +116,8 @@ class _FactoryIterableView(object): """ def __init__(self, factory): - self._iterable = factory() + self._factory =...
fix: all the factory only when needed
sarugaku_resolvelib
train
py
dc42cff18e78220861c6590bba9e9e050e231bb4
diff --git a/src/main/java/net/spy/memcached/DefaultConnectionFactory.java b/src/main/java/net/spy/memcached/DefaultConnectionFactory.java index <HASH>..<HASH> 100644 --- a/src/main/java/net/spy/memcached/DefaultConnectionFactory.java +++ b/src/main/java/net/spy/memcached/DefaultConnectionFactory.java @@ -28,8 +28,10 @...
Docs for path to FailureModes on DefaultConnectionFactory. Issue <I>.
dustin_java-memcached-client
train
java
8388a34bd51970329672228dde960511be04015a
diff --git a/lib/puppet/provider/package/yum.rb b/lib/puppet/provider/package/yum.rb index <HASH>..<HASH> 100644 --- a/lib/puppet/provider/package/yum.rb +++ b/lib/puppet/provider/package/yum.rb @@ -59,7 +59,6 @@ Puppet::Type.type(:package).provide :yum, :parent => :rpm, :source => :rpm do self.debug "Ensuring => ...
(PUP-<I>) Use join_options command As recommended by @adrienthebo, referencing install_options like this allows special semantics.
puppetlabs_puppet
train
rb
466925d39e57a9feaa4724c20689dbbff030a37e
diff --git a/pyemma/thermo/estimators/TRAM_estimator.py b/pyemma/thermo/estimators/TRAM_estimator.py index <HASH>..<HASH> 100644 --- a/pyemma/thermo/estimators/TRAM_estimator.py +++ b/pyemma/thermo/estimators/TRAM_estimator.py @@ -393,8 +393,8 @@ class TRAM(_Estimator, _MEMM, _ProgressReporter): 'MEMM has ...
[trammbar] bug fix in access to mbar initialization results
markovmodel_PyEMMA
train
py
100e680ee33b5654448ec5290e20fba216cab800
diff --git a/test/test_helper.rb b/test/test_helper.rb index <HASH>..<HASH> 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -189,7 +189,10 @@ class VirtualTestDatabase else restored_val = value.dup end - restored_val = value.is_a?(ActiveRecord::Base) ? value.class.find(value.id...
Handling deletion of setup data correctly in test_helper
DavidMikeSimon_offroad
train
rb
3ecc34ffa7d26a1d9b8c77a929b9b67249783da3
diff --git a/templates/forms/deactivation/form.php b/templates/forms/deactivation/form.php index <HASH>..<HASH> 100644 --- a/templates/forms/deactivation/form.php +++ b/templates/forms/deactivation/form.php @@ -168,6 +168,7 @@ HTML; method : 'POST', data : { 'action' : '<?php echo $fs->g...
[ajax] [deactivation] [uninstall] Include the module's slug in the request params, otherwise, the request will fail.
Freemius_wordpress-sdk
train
php
c4b260e6eecfb716e69751e65753782fe0a66e1f
diff --git a/www/saml2/idp/SingleLogoutService.php b/www/saml2/idp/SingleLogoutService.php index <HASH>..<HASH> 100644 --- a/www/saml2/idp/SingleLogoutService.php +++ b/www/saml2/idp/SingleLogoutService.php @@ -9,8 +9,10 @@ * @version $Id$ */ -require_once('../../../www/_include.php'); +// TODO: Show error messag...
adding todos for bridged SLO
simplesamlphp_saml2
train
php
b6c0ade2769f504e786db65b47135244c0759403
diff --git a/fuse/mount/fuse.go b/fuse/mount/fuse.go index <HASH>..<HASH> 100644 --- a/fuse/mount/fuse.go +++ b/fuse/mount/fuse.go @@ -53,8 +53,9 @@ func (m *mount) mount() error { go func() { err := fs.Serve(m.fuseConn, m.filesys) log.Debugf("Mounting %s -- fs.Serve returned (%s)", err) - errs <- err - close...
FUSE: Stop treating "no errors" as an error
ipfs_go-ipfs
train
go
7f6b4edd3a179ac66dc8f6741ab921438bb43d1e
diff --git a/ruby_event_store/lib/ruby_event_store/client.rb b/ruby_event_store/lib/ruby_event_store/client.rb index <HASH>..<HASH> 100644 --- a/ruby_event_store/lib/ruby_event_store/client.rb +++ b/ruby_event_store/lib/ruby_event_store/client.rb @@ -62,12 +62,11 @@ module RubyEventStore end def read_all_st...
read_all_streams_backward on new API
RailsEventStore_rails_event_store
train
rb
f17cf99bc532390e3fb12c4aa3103fb3db3ab37a
diff --git a/test/www/jxcore/runCoordinatedTests.js b/test/www/jxcore/runCoordinatedTests.js index <HASH>..<HASH> 100644 --- a/test/www/jxcore/runCoordinatedTests.js +++ b/test/www/jxcore/runCoordinatedTests.js @@ -83,6 +83,14 @@ var setListeners = function (instance, instanceId) { instance.stdout.on('end', function...
Added additional logging for TestServer
thaliproject_Thali_CordovaPlugin
train
js
9e2756a798d2215c7ed2c19001f497e92ee3abb3
diff --git a/examples/public/index.php b/examples/public/index.php index <HASH>..<HASH> 100644 --- a/examples/public/index.php +++ b/examples/public/index.php @@ -37,7 +37,7 @@ $trails_uri = sprintf('http%s://%s%s%s', require_once $trails_root . '/../vendor/trails/trails.php'; # load flexi -require_once $trails_roo...
use changed directory structure of flexi submodule
luniki_trails
train
php
9d61954379291934c8dda26a3eb9cc8c4056bb19
diff --git a/src/Setup/Data/Base.php b/src/Setup/Data/Base.php index <HASH>..<HASH> 100644 --- a/src/Setup/Data/Base.php +++ b/src/Setup/Data/Base.php @@ -17,7 +17,7 @@ abstract class Base implements InstallDataInterface /** * Module specific routines to create initial module's data on install. */ - ...
MOBI-<I> - Merge Common & M2 modules and clean up extra code (Setup/Schema&Data)
praxigento_mobi_mod_core
train
php
603db3b4c5b865e11a5858ffee17894ce3c91e3d
diff --git a/cursor.js b/cursor.js index <HASH>..<HASH> 100644 --- a/cursor.js +++ b/cursor.js @@ -167,7 +167,7 @@ var execInitialQuery = function(query, cmd, options, cursorState, connection, lo if(Array.isArray(result.documents) && result.documents.length == 1) { if(result.documents[0]['$err'] |...
fixed issues with MongoError creation on cursor
mongodb_node-mongodb-native
train
js
a32624aeb68405095bf2e1cc46c87478bc5a1817
diff --git a/src/Arvici/Heart/Database/Query/Parser.php b/src/Arvici/Heart/Database/Query/Parser.php index <HASH>..<HASH> 100644 --- a/src/Arvici/Heart/Database/Query/Parser.php +++ b/src/Arvici/Heart/Database/Query/Parser.php @@ -103,6 +103,16 @@ class Parser switch($this->query->mode){ case Quer...
Adding stubs for parser.
arvici_framework
train
php
005d8ca5073e2ead26e4d65b080d26b4ee4206b9
diff --git a/internal/service/datapipeline/tags_gen.go b/internal/service/datapipeline/tags_gen.go index <HASH>..<HASH> 100644 --- a/internal/service/datapipeline/tags_gen.go +++ b/internal/service/datapipeline/tags_gen.go @@ -6,6 +6,7 @@ import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/service...
gen/tags: Use interface type as generated AWS Go SDK v1 client type for datapipeline.
terraform-providers_terraform-provider-aws
train
go
7b9e848457af1d1846d5db018f3944a8d1f08610
diff --git a/src/Sculpin/Core/Source/FileSource.php b/src/Sculpin/Core/Source/FileSource.php index <HASH>..<HASH> 100644 --- a/src/Sculpin/Core/Source/FileSource.php +++ b/src/Sculpin/Core/Source/FileSource.php @@ -107,6 +107,10 @@ class FileSource extends AbstractSource } if ($this->data->get('date...
In case YAML date parser does not work correctly, we should do strtotime.
sculpin_sculpin
train
php
125b25ac628b26747852c21dd7bcfb417d3ccd23
diff --git a/main/core/Resources/modules/resource/actions/open.js b/main/core/Resources/modules/resource/actions/open.js index <HASH>..<HASH> 100644 --- a/main/core/Resources/modules/resource/actions/open.js +++ b/main/core/Resources/modules/resource/actions/open.js @@ -8,8 +8,7 @@ const action = (resourceNodes) => ({ ...
[CoreBundle] fixes resources open action (#<I>)
claroline_Distribution
train
js
2a6372e247516597108086edff000d6cdbf4793f
diff --git a/spec/lib/phony/countries_spec.rb b/spec/lib/phony/countries_spec.rb index <HASH>..<HASH> 100644 --- a/spec/lib/phony/countries_spec.rb +++ b/spec/lib/phony/countries_spec.rb @@ -94,6 +94,9 @@ describe 'country descriptions' do Phony.split('491805878323').should == ['49', '180', '587', '8323'] # Ser...
Added basic spec for typical Ghanese phone number
floere_phony
train
rb
1746ee9a0ff2e27a284a47e998bf9798bd97977a
diff --git a/components/apps.js b/components/apps.js index <HASH>..<HASH> 100644 --- a/components/apps.js +++ b/components/apps.js @@ -441,7 +441,7 @@ SteamUser.prototype._addAppToCache = function(appid) { * @private */ SteamUser.prototype._getLicenseInfo = function() { - if (!this.options.enablePicsCache) { + if ...
Don't try to get license info without being logged on yet
DoctorMcKay_node-steam-user
train
js
2ba24243a55fc57c92a185e96d564b32adf14276
diff --git a/system_tests/bigquery.py b/system_tests/bigquery.py index <HASH>..<HASH> 100644 --- a/system_tests/bigquery.py +++ b/system_tests/bigquery.py @@ -263,7 +263,6 @@ class TestBigQuery(unittest2.TestCase): self.to_delete.append(bucket) blob = bucket.blob(BLOB_NAME) - self.to_delete.i...
Defer adding CSV blob to 'to_delete' until after upload succeeds. Avoids blowing up the cleanup code, stranding the bucket.
googleapis_google-cloud-python
train
py
f0f675ad9c91974fb5d24ea84166c606b9d7540d
diff --git a/editline_unix.go b/editline_unix.go index <HASH>..<HASH> 100644 --- a/editline_unix.go +++ b/editline_unix.go @@ -80,6 +80,10 @@ func InitFiles(appName string, inf, outf, errf *os.File) (e EditLine, err error) cAppName := C.CString(appName) defer C.free(unsafe.Pointer(cAppName)) el, err := C.go_libed...
Avoid failing if ~/.editrc does not exist.
knz_go-libedit
train
go
cab243a1956b9a4a31ffcdcf0241f439d91cc0d4
diff --git a/spec/integration/block_validator_spec.rb b/spec/integration/block_validator_spec.rb index <HASH>..<HASH> 100755 --- a/spec/integration/block_validator_spec.rb +++ b/spec/integration/block_validator_spec.rb @@ -21,11 +21,13 @@ describe DataMapper::Validate::ValidatesWithBlock do end it "should valid...
[dm-validations] Mark failing spec as pending * Unsure what this method should return so marking as pending for now
emmanuel_aequitas
train
rb
2cf430d37ad4ada0fea2ef74574192db38912b96
diff --git a/inginious/agent/docker_agent/__init__.py b/inginious/agent/docker_agent/__init__.py index <HASH>..<HASH> 100644 --- a/inginious/agent/docker_agent/__init__.py +++ b/inginious/agent/docker_agent/__init__.py @@ -125,7 +125,9 @@ class DockerAgent(Agent): if self._address_host is None and len(self._...
Getting a "random" element inside a dict is ugly in Python3.
UCL-INGI_INGInious
train
py
45bcc21cd7bfaa19ea0592af4a85ddea8c7ca8b1
diff --git a/spec/dummy/config/application.rb b/spec/dummy/config/application.rb index <HASH>..<HASH> 100644 --- a/spec/dummy/config/application.rb +++ b/spec/dummy/config/application.rb @@ -26,5 +26,6 @@ module Dummy # config.i18n.default_locale = :de config.secret_key_base = 'TODO Put something here' c...
chore(sqlite): fix warning
platanus_activeadmin_addons
train
rb
ee575bbe8f9d09e3251e68dd3e6aaf5cf8992308
diff --git a/lib/git-process/pull_request.rb b/lib/git-process/pull_request.rb index <HASH>..<HASH> 100644 --- a/lib/git-process/pull_request.rb +++ b/lib/git-process/pull_request.rb @@ -36,7 +36,8 @@ module GitProc def runner if @pr_number.nil? or @pr_number.empty? - create_pull_request + p...
Added pull-request URL to git-pull-request output. Closes GH-<I>
jdigger_git-process
train
rb
3d5ffe27acc0eb1372d40d95781c0dca75f60f19
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ if sys.version_info < (3, 5): from geopy import __version__ as version # noqa # isort:skip INSTALL_REQUIRES = [ - 'geographiclib<2,>=1.49', + 'geographiclib<3,>=1.49', ] EXTRAS_DEV_TESTFILES_COMM...
Allow geographiclib 2.x (#<I>)
geopy_geopy
train
py
fd7e86723cf555e3afd06b55e6d63c587a47bfc4
diff --git a/test/actions.js b/test/actions.js index <HASH>..<HASH> 100644 --- a/test/actions.js +++ b/test/actions.js @@ -50,7 +50,7 @@ describe('actions', function () { it('should add app folders of specified branch and update configuration.', function (done) { this.timeout(60000); - var app = 'coz...
updating test for specific branch from master to dev
cozy-labs_cozy-light
train
js
aa5fb29f41844916b305305e78238ce071699ddf
diff --git a/cli/polyaxon/client/run.py b/cli/polyaxon/client/run.py index <HASH>..<HASH> 100644 --- a/cli/polyaxon/client/run.py +++ b/cli/polyaxon/client/run.py @@ -276,11 +276,16 @@ class RunClient: return self._run_data.outputs @client_handler(check_no_op=True, check_offline=True) - def refresh_d...
Add load_conditions flag to refresh data
polyaxon_polyaxon-cli
train
py
4e9d4e7fa726abaa2328d678310a8b4641877b41
diff --git a/pyvera/__init__.py b/pyvera/__init__.py index <HASH>..<HASH> 100755 --- a/pyvera/__init__.py +++ b/pyvera/__init__.py @@ -287,8 +287,8 @@ class VeraDevice(object): # pylint: disable=R0904 else: self.name = 'Vera Device ' + str(self.device_id) - @staticmethod - def get_...
disable no-self-use lint check
pavoni_pyvera
train
py
e3f1fd0cdacb35fed94ada8e78cda5ffc2659b11
diff --git a/lib/ruby-lint/definitions_builder.rb b/lib/ruby-lint/definitions_builder.rb index <HASH>..<HASH> 100644 --- a/lib/ruby-lint/definitions_builder.rb +++ b/lib/ruby-lint/definitions_builder.rb @@ -576,7 +576,7 @@ module RubyLint # Resolves the return value of a method call. # # @param [RubyLint...
Don't break when no return value is found.
YorickPeterse_ruby-lint
train
rb
d602930af9b38af1932ade55a54d3bbb2004b546
diff --git a/gulpfile.js b/gulpfile.js index <HASH>..<HASH> 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -112,7 +112,10 @@ function closeSauceConnect() { gulp.task('karma-sauce', ['build', 'start-sauce-connect'], function(callback) { var customLaunchers = geSaLaKaCuLa({ 'Windows 7': { - 'internet explore...
Fix IE platform testing Remove IE 9 from testing on sauce labs because it continues to fail to launch Add IE <I> (edge) to testing on sauce labs to make sure that is supported
angular-ui_ui-mask
train
js
36b4e146ab96f86d01ad81ef0fd3a8d8f0b93f3a
diff --git a/src/test/java/com/github/davidmoten/rx2/buffertofile/FlowableOnBackpressureBufferToFileTest.java b/src/test/java/com/github/davidmoten/rx2/buffertofile/FlowableOnBackpressureBufferToFileTest.java index <HASH>..<HASH> 100644 --- a/src/test/java/com/github/davidmoten/rx2/buffertofile/FlowableOnBackpressureBu...
improve likelihood of travis build success by reducing memory requirements in tests
davidmoten_rxjava2-extras
train
java
d702db5b12b5bf2287b88d27ff81e7c3ecc23aa2
diff --git a/http.go b/http.go index <HASH>..<HASH> 100644 --- a/http.go +++ b/http.go @@ -51,13 +51,15 @@ func (s *HTTPFrontend) AddHTTPDomain(domain string, service string, certs [][]by return s.addDomain(domain, service, true) } +var ErrDomainExists = errors.New("strowger: domain exists with different service")...
router: Use named error when domain exists
flynn_flynn
train
go
ed0d3cc7af887411055e71bc6469ddf204b53b6e
diff --git a/src/Phinx/Db/Table/Index.php b/src/Phinx/Db/Table/Index.php index <HASH>..<HASH> 100644 --- a/src/Phinx/Db/Table/Index.php +++ b/src/Phinx/Db/Table/Index.php @@ -128,7 +128,9 @@ class Index // handle $options['unique'] if (strtolower($option) == self::UNIQUE) { - ...
added newline to improve debugging
cakephp_phinx
train
php
e53d6248f281180b99cec12082aaebf56f701442
diff --git a/tests/_support/Page/SidebarMenu.php b/tests/_support/Page/SidebarMenu.php index <HASH>..<HASH> 100644 --- a/tests/_support/Page/SidebarMenu.php +++ b/tests/_support/Page/SidebarMenu.php @@ -49,4 +49,10 @@ class SidebarMenu extends Authenticated $I->click($rootMenuName, '.sidebar-menu'); ...
Add new check for SidebarMenu to check root level items with a refined css selector
hiqdev_hipanel-core
train
php
7cab2c7efe9d03d23cfcd3b4a6953e94113a5f42
diff --git a/pyinfra_cli/util.py b/pyinfra_cli/util.py index <HASH>..<HASH> 100644 --- a/pyinfra_cli/util.py +++ b/pyinfra_cli/util.py @@ -30,6 +30,7 @@ except ImportError: import click from pyinfra import logger, pseudo_host +from pyinfra.api.host import Host from pyinfra.api.util import exec_file from pyinfra.h...
Properly serialise `Host` objects.
Fizzadar_pyinfra
train
py
c95cc76a0a3b52c751c1a0f00895cf1b34b66b28
diff --git a/__tests__/NfcManager.test.js b/__tests__/NfcManager.test.js index <HASH>..<HASH> 100644 --- a/__tests__/NfcManager.test.js +++ b/__tests__/NfcManager.test.js @@ -7,7 +7,7 @@ import {NativeNfcManager, NfcManagerEmitter, callNative} from '../src/NativeNfcM describe('NfcManager (ios)', () => { Platform....
fix: import NfcManager from new location
whitedogg13_react-native-nfc-manager
train
js
bb0eb16332384056a283827dfca1dd75fb347474
diff --git a/lxd/container_snapshot.go b/lxd/container_snapshot.go index <HASH>..<HASH> 100644 --- a/lxd/container_snapshot.go +++ b/lxd/container_snapshot.go @@ -177,7 +177,8 @@ func containerSnapshotsPost(d *Daemon, r *http.Request) response.Response { } resources := map[string][]string{} - resources["container...
lxd/container/snaphot: Returns instances property in response
lxc_lxd
train
go
e12f7953b47acad37c50c86982755cd870830a94
diff --git a/test/client_protocol.js b/test/client_protocol.js index <HASH>..<HASH> 100644 --- a/test/client_protocol.js +++ b/test/client_protocol.js @@ -70,6 +70,10 @@ describe("client protocol", function() { eecho: function(req, resp) { resp.send(req.params());...
add a new test case to send date
XadillaX_illyria2
train
js,js
ceb180de633c2630a4244c8c816f0b06e272274a
diff --git a/LiSE/LiSE/test.py b/LiSE/LiSE/test.py index <HASH>..<HASH> 100644 --- a/LiSE/LiSE/test.py +++ b/LiSE/LiSE/test.py @@ -1,10 +1,8 @@ import unittest -from unittest.mock import MagicMock from argparse import ArgumentParser import re from functools import reduce from collections import defaultdict -from n...
Remove unused imports from test.py
LogicalDash_LiSE
train
py
171894e3f2fe6b0b2a462d28fe34ffe5385c9ae8
diff --git a/ui/src/main/java/com/kotcrab/vis/ui/widget/VisTextField.java b/ui/src/main/java/com/kotcrab/vis/ui/widget/VisTextField.java index <HASH>..<HASH> 100644 --- a/ui/src/main/java/com/kotcrab/vis/ui/widget/VisTextField.java +++ b/ui/src/main/java/com/kotcrab/vis/ui/widget/VisTextField.java @@ -437,7 +437,7 @@ p...
Fix VisTextField crash when text has newlines (#<I>) #<I>
kotcrab_vis-ui
train
java
e539d392dda4c0893c153c08ac33794d5f4ae18e
diff --git a/lib/sidebar.rb b/lib/sidebar.rb index <HASH>..<HASH> 100644 --- a/lib/sidebar.rb +++ b/lib/sidebar.rb @@ -1,5 +1,5 @@ class Sidebar < ActiveRecord::Base - serialize :config + serialize :config, Hash class Field attr_accessor :key @@ -216,28 +216,10 @@ class Sidebar < ActiveRecord::Base Bl...
Let Rails take care of config serialization
publify_publify
train
rb
9b67ee2ed9146f7f970d3528a2a13006bdfe0af6
diff --git a/spec/nodeInterceptor.node.spec.js b/spec/nodeInterceptor.node.spec.js index <HASH>..<HASH> 100644 --- a/spec/nodeInterceptor.node.spec.js +++ b/spec/nodeInterceptor.node.spec.js @@ -68,18 +68,20 @@ describe('nodeInterceptor', () => { }); }); - xit('works with node-fetch', () => { + it('works w...
Figures out how to test node-fetch integration
mlawrie_hereafter
train
js
1b4728ff69f44d730873decc495fa5da16c0af3b
diff --git a/specs/validate-spec.js b/specs/validate-spec.js index <HASH>..<HASH> 100644 --- a/specs/validate-spec.js +++ b/specs/validate-spec.js @@ -206,4 +206,10 @@ describe("validate", function() { ); }); }); + + describe("works with flatten: true and fullMessages: false", function() { + var cons...
Add a test that verifies that fullMessages and flatten works together
ansman_validate.js
train
js
e1adb8cb3ccf659419a2a390a496893d8c7284bb
diff --git a/jre_emul/Classes/com/google/j2objc/net/IosHttpURLConnection.java b/jre_emul/Classes/com/google/j2objc/net/IosHttpURLConnection.java index <HASH>..<HASH> 100644 --- a/jre_emul/Classes/com/google/j2objc/net/IosHttpURLConnection.java +++ b/jre_emul/Classes/com/google/j2objc/net/IosHttpURLConnection.java @@ -5...
Fixes memory leak in IosHttpURLConnection - copied object wasn't being released. Also, __bridge isn't needed because it only applies to ARC.
google_j2objc
train
java
eadcf3ecb056af09d928f4c30d608c0f59d4d55a
diff --git a/results.go b/results.go index <HASH>..<HASH> 100644 --- a/results.go +++ b/results.go @@ -121,8 +121,12 @@ func (r *RenderTemplateResult) Apply(req *Request, resp *Response) { } }() - if Config.BoolDefault("results.chunked", false) { - // Write the status, render, and hope for the best. + chunked :...
chunked encoding + dev mode = render to a temp buffer anyway
revel_revel
train
go
6e44cd85df5073c274c372c39902b84153f6c36c
diff --git a/eppy/geometry/tinynumpy.py b/eppy/geometry/tinynumpy.py index <HASH>..<HASH> 100644 --- a/eppy/geometry/tinynumpy.py +++ b/eppy/geometry/tinynumpy.py @@ -39,20 +39,23 @@ certain features may not be supported. # todo: Fortran order? from __future__ import division +from __future__ import absolute_import...
added absolute_import to tinynumpy
santoshphilip_eppy
train
py
e4dacaa075f3e535fe8a706b7a1808ef1defcbde
diff --git a/pyblish_qml/host.py b/pyblish_qml/host.py index <HASH>..<HASH> 100644 --- a/pyblish_qml/host.py +++ b/pyblish_qml/host.py @@ -93,8 +93,7 @@ def show(parent=None, targets=[], modal=None): modal = bool(os.environ.get("PYBLISH_QML_MODAL", False)) # Automatically install if not already installe...
Always try to install on show This fixes the bug that QML only install eventFilter once on first run
pyblish_pyblish-qml
train
py
7ab5365515dd935d98b1a97466a455d5c5a3cffe
diff --git a/evaluate_expression.go b/evaluate_expression.go index <HASH>..<HASH> 100644 --- a/evaluate_expression.go +++ b/evaluate_expression.go @@ -103,8 +103,7 @@ func (self *_runtime) evaluateUnaryOperation(node *_unaryOperationNode) Value { case "void": return UndefinedValue() case "delete": - target.refe...
Pass back result of "delete ..." (true or false)
robertkrimen_otto
train
go,go
072e4d50c7c0c912ee2d6bfd23b442830f030110
diff --git a/lib/svtplay_dl/output.py b/lib/svtplay_dl/output.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/output.py +++ b/lib/svtplay_dl/output.py @@ -118,7 +118,7 @@ def filename(options, stream): if options.output: if is_py2: if platform.system() == "Windows": - optio...
filename: it should be latin1 not lain1.
spaam_svtplay-dl
train
py
2d6d701e4542060fe0bf26f8df781b457572e234
diff --git a/Kwf/Setup.php b/Kwf/Setup.php index <HASH>..<HASH> 100644 --- a/Kwf/Setup.php +++ b/Kwf/Setup.php @@ -174,6 +174,7 @@ class Kwf_Setup switch (PHP_SAPI) { case 'apache2handler': case 'apache': + case 'fpm-fcgi': $requestPath = $_SERVER['REQUEST_...
support fpm-fcgi PHP_SAPI for requestPath
koala-framework_koala-framework
train
php
f6206ee961e4ab2d37fa0faebec4dde75cf1a560
diff --git a/luigi/contrib/hdfs/webhdfs_client.py b/luigi/contrib/hdfs/webhdfs_client.py index <HASH>..<HASH> 100644 --- a/luigi/contrib/hdfs/webhdfs_client.py +++ b/luigi/contrib/hdfs/webhdfs_client.py @@ -52,6 +52,7 @@ class WebHdfsClient(hdfs_abstract_client.HdfsFileSystem): The library is using `this api ...
Add HA functionality to WebHdfsClient (#<I>) Since version <I>, the hdfs package allows to specify multiple namenodes (HA functionality), by passing an url containing multiple namenodes separated by ';'. This functionality is forwarded through to WebHdfsClient in this commit.
spotify_luigi
train
py
779e8fc7800fb588adfe3d8a86ee36977f9e92b3
diff --git a/netdiff/info.py b/netdiff/info.py index <HASH>..<HASH> 100644 --- a/netdiff/info.py +++ b/netdiff/info.py @@ -1,4 +1,4 @@ -VERSION = (0, 4, 6, 'final') +VERSION = (0, 4, 7, 'alpha') __version__ = VERSION
Bumped VERSION to <I> alpha
openwisp_netdiff
train
py
c734dad4aadb328dd4c5366e8d47a8180631ea6e
diff --git a/source/Internal/Setup/Database/Service/DatabaseCreator.php b/source/Internal/Setup/Database/Service/DatabaseCreator.php index <HASH>..<HASH> 100644 --- a/source/Internal/Setup/Database/Service/DatabaseCreator.php +++ b/source/Internal/Setup/Database/Service/DatabaseCreator.php @@ -41,8 +41,7 @@ class Datab...
Added backticks to support DB names with minus character like my-database
OXID-eSales_oxideshop_ce
train
php
8dbd7a8892b231180557ef6021397793a66e4b00
diff --git a/src/main/java/com/couchbase/lite/Manager.java b/src/main/java/com/couchbase/lite/Manager.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/couchbase/lite/Manager.java +++ b/src/main/java/com/couchbase/lite/Manager.java @@ -38,7 +38,7 @@ import java.util.regex.Pattern; */ public class Manager { ...
Bump manager version to <I>-beta2
couchbase_couchbase-lite-java-core
train
java
65ff3bf0220f883f4af386fe83e767a4b0b8261c
diff --git a/org.jenetics/src/main/java/org/jenetics/util/Accumulator.java b/org.jenetics/src/main/java/org/jenetics/util/Accumulator.java index <HASH>..<HASH> 100644 --- a/org.jenetics/src/main/java/org/jenetics/util/Accumulator.java +++ b/org.jenetics/src/main/java/org/jenetics/util/Accumulator.java @@ -40,7 +40,7 @@...
Using java 8 lamda expressions.
jenetics_jenetics
train
java
6cce4970acb0ea6ed282f53d2a4990efa90b280b
diff --git a/src/pybel/manager/cache.py b/src/pybel/manager/cache.py index <HASH>..<HASH> 100644 --- a/src/pybel/manager/cache.py +++ b/src/pybel/manager/cache.py @@ -711,9 +711,6 @@ class NetworkManager(NamespaceManager, AnnotationManager): }) if store_parts: - if not self.session.query(...
Put the GOCC ensure function in the reimplemented store parts function
pybel_pybel
train
py
11ed64411ae816eeff73f704b338e76ae2a5897f
diff --git a/Framework/Bootstrap.php b/Framework/Bootstrap.php index <HASH>..<HASH> 100644 --- a/Framework/Bootstrap.php +++ b/Framework/Bootstrap.php @@ -70,6 +70,9 @@ $baseDir = ($slashPos === false) : $dirName) : substr($dirName, 0, $slashPos); +// TODO: Implement Directory/File style URLs and case-matching. ...
Added todo where issues need implementing
PhpGt_WebEngine
train
php
aa4b707a561ad961d4ff78b54eebb94bd9e7a5d8
diff --git a/empyrical/stats.py b/empyrical/stats.py index <HASH>..<HASH> 100644 --- a/empyrical/stats.py +++ b/empyrical/stats.py @@ -1383,10 +1383,14 @@ def beta_aligned(returns, factor_returns, risk_free=0.0, out=None): returns_1d = returns.ndim == 1 if returns_1d: - returns = returns[:, np.newaxi...
multi-dimensional indexing is deprecated in pandas.
quantopian_empyrical
train
py
ac6dd30703d911a01c65e0e496b12da15cbd734f
diff --git a/internal/gateway/gateway.go b/internal/gateway/gateway.go index <HASH>..<HASH> 100644 --- a/internal/gateway/gateway.go +++ b/internal/gateway/gateway.go @@ -118,6 +118,10 @@ func updateGatewayState(db sqlx.Ext, p *redis.Pool, stats gw.GatewayStats) error return errors.Wrap(err, "flush gateway cache err...
Fix triggering gateway config update. This was accidentally removed during a refactor / merge / rebase. Closes #<I>.
brocaar_loraserver
train
go
89f781944f979755331cdf8f6f7f4c92408090a8
diff --git a/modules/citrus-selenium/src/main/java/com/consol/citrus/selenium/endpoint/SeleniumBrowserBuilder.java b/modules/citrus-selenium/src/main/java/com/consol/citrus/selenium/endpoint/SeleniumBrowserBuilder.java index <HASH>..<HASH> 100644 --- a/modules/citrus-selenium/src/main/java/com/consol/citrus/selenium/en...
#<I> added back original method signature to prevent a breaking change
citrusframework_citrus
train
java
dd1fef390b73aff5da4b1dbedb86d0f171cb7d03
diff --git a/src/transForm.js b/src/transForm.js index <HASH>..<HASH> 100644 --- a/src/transForm.js +++ b/src/transForm.js @@ -198,7 +198,7 @@ switch (nodeType) { case 'radio': - if (value === input.value) input.checked = true; + if ("" + value === input.value) inpu...
Various deserialize fixes - Radiobutton values always get converted to string - You don't need to pass an array to a multiple select
A1rPun_transForm.js
train
js
5274b3025dccda5f7181f9777f36597961f294ab
diff --git a/src/Interfaces/CommandBuilderInterface.php b/src/Interfaces/CommandBuilderInterface.php index <HASH>..<HASH> 100644 --- a/src/Interfaces/CommandBuilderInterface.php +++ b/src/Interfaces/CommandBuilderInterface.php @@ -119,7 +119,7 @@ interface CommandBuilderInterface /** * Add an array of enviro...
Fix docblock for CommandBuilderInterface::addEnvironmentVariables
ptlis_shell-command
train
php
cfb927ce754199e93740e53aee4e6b40acb396c5
diff --git a/app/models/action_mailroom/inbound_email.rb b/app/models/action_mailroom/inbound_email.rb index <HASH>..<HASH> 100644 --- a/app/models/action_mailroom/inbound_email.rb +++ b/app/models/action_mailroom/inbound_email.rb @@ -8,6 +8,8 @@ class ActionMailroom::InboundEmail < ActiveRecord::Base has_one_attach...
Ensure message id is present
rails_rails
train
rb
a61ed66ced24744d5477ca02a3730488b83eaf80
diff --git a/hazelcast/src/main/java/com/hazelcast/concurrent/lock/IsLockedOperation.java b/hazelcast/src/main/java/com/hazelcast/concurrent/lock/IsLockedOperation.java index <HASH>..<HASH> 100644 --- a/hazelcast/src/main/java/com/hazelcast/concurrent/lock/IsLockedOperation.java +++ b/hazelcast/src/main/java/com/hazelc...
Is Locked Operation modified for client. In Linux environments, threadId can be a negative value.
hazelcast_hazelcast
train
java
7316d882cd88e83a5e9ce3ef3b29a8d96baed87c
diff --git a/src/Phossa2/Shared/Reference/ReferenceTrait.php b/src/Phossa2/Shared/Reference/ReferenceTrait.php index <HASH>..<HASH> 100644 --- a/src/Phossa2/Shared/Reference/ReferenceTrait.php +++ b/src/Phossa2/Shared/Reference/ReferenceTrait.php @@ -226,7 +226,7 @@ trait ReferenceTrait * @access protected ...
change to clearReferenceCache()
phossa2_shared
train
php
b668888662e4a2d28919add36312fb6f749ae193
diff --git a/api.php b/api.php index <HASH>..<HASH> 100755 --- a/api.php +++ b/api.php @@ -110,6 +110,11 @@ class api protected $addons; public $json; + public function __construct() + { // Otherwise we will get php segfault + + } + public function phoxy_api_init() { $this->json = true;
Fix php segfault at class construction
phoxy_phoxy
train
php
0e54aadaec34c3307b372e3cd0c03c1828060b1f
diff --git a/wsaa.py b/wsaa.py index <HASH>..<HASH> 100644 --- a/wsaa.py +++ b/wsaa.py @@ -102,6 +102,9 @@ def create_tra(service=SERVICE, ttl=2400): def sign_tra(tra, cert=CERT, privatekey=PRIVATEKEY, passphrase=""): "Firmar PKCS#7 el TRA y devolver CMS (recortando los headers SMIME)" + if isinstance(tra, s...
WSAA: fix sign_tra expecting bytes Exception in line: `bio_in = _lib.BIO_new_mem_buf(tra, len(tra))`: ```` TypeError: initializer for ctype 'void *' must be a cdata pointer, not str TypeError: initializer for ctype 'void *' must be a cdata pointer, not unicode ```
reingart_pyafipws
train
py
19e5e0bfce6868f8ed4e8027f18030d0a3f15979
diff --git a/wpull/builder.py b/wpull/builder.py index <HASH>..<HASH> 100644 --- a/wpull/builder.py +++ b/wpull/builder.py @@ -82,6 +82,7 @@ from wpull.writer import (NullWriter, OverwriteFileWriter, AntiClobberFileWriter) import wpull.coprocessor.youtubedl import wpull.driver.phantomjs +im...
builder: Check for psutil before using.
ArchiveTeam_wpull
train
py
7196ba8f9a37e2a8638cb4fd68163994c11049d6
diff --git a/dataviews/options.py b/dataviews/options.py index <HASH>..<HASH> 100644 --- a/dataviews/options.py +++ b/dataviews/options.py @@ -115,7 +115,7 @@ class Options(object): Given a key which may contain spaces, such as a view label, convert it to a string suitable for attribute access. ...
Option key normalization now replaces spaces with '' instead of '_'
pyviz_holoviews
train
py
56496857cec72b2785e39c6167fda18ac6eb065d
diff --git a/src/Syscover/Pulsar/Traits/ControllerTrait.php b/src/Syscover/Pulsar/Traits/ControllerTrait.php index <HASH>..<HASH> 100644 --- a/src/Syscover/Pulsar/Traits/ControllerTrait.php +++ b/src/Syscover/Pulsar/Traits/ControllerTrait.php @@ -381,7 +381,15 @@ trait ControllerTrait { } else ...
ControllerTrait check if is implements getRecord function in model, for objects with joins
syscover_pulsar
train
php
31235e62e2c8d67dd20a46485724d6782a3e4f20
diff --git a/lib/hawkular/base_client.rb b/lib/hawkular/base_client.rb index <HASH>..<HASH> 100644 --- a/lib/hawkular/base_client.rb +++ b/lib/hawkular/base_client.rb @@ -182,8 +182,8 @@ module Hawkular end def tenant_header - @options[:tenant].nil? ? {} : { :'Hawkular-Tenant' => @options[:tenant], - ...
Let the gem always provide HTTP header Hawkular-Tenant (#<I>) with default value 'hawkular'. It can still be overidden by the client options.
hawkular_hawkular-client-ruby
train
rb
04f017e3bf2e42390f61dedbd1c075e69ecbbdb0
diff --git a/Model/Config/Configuration/Productattributes.php b/Model/Config/Configuration/Productattributes.php index <HASH>..<HASH> 100644 --- a/Model/Config/Configuration/Productattributes.php +++ b/Model/Config/Configuration/Productattributes.php @@ -19,6 +19,10 @@ class Productattributes ->addVisibleF...
Brand attribute is selecting the first from select #<I>
dotmailer_dotmailer-magento2-extension
train
php
ac3d1ee8ad8a09b8cf21aea43693223fbb8d0043
diff --git a/test/Plugin.js b/test/Plugin.js index <HASH>..<HASH> 100644 --- a/test/Plugin.js +++ b/test/Plugin.js @@ -7,7 +7,7 @@ dynamoose.local(); var should = require('should'); -describe.only('Plugin', function() { +describe('Plugin', function() { var Model = dynamoose.model('Puppy', { id: { typ...
Removing .only for plugin tests
dynamoosejs_dynamoose
train
js
f984c2e7297f1536d85a174f08f735ae06ebcdef
diff --git a/trimesh/voxel.py b/trimesh/voxel.py index <HASH>..<HASH> 100644 --- a/trimesh/voxel.py +++ b/trimesh/voxel.py @@ -646,7 +646,7 @@ def points_to_indices(points, pitch, origin): if origin.shape != (3,): raise ValueError('shape of origin must be (3,)') - indices = np.round((points - origin)...
Remove index shift by +-<I> in voxel.py
mikedh_trimesh
train
py
080a9616bdf6d355c1675b69ef5d4f7d21feac04
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -46,7 +46,6 @@ import sys from setuptools import setup, find_packages - needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv) pytest_runner = ['pytest-runner'] if needs_pytest else [] @@ -60,7 +59,7 @@ setup...
Change home page url to Github
vnmabus_dcor
train
py
2ac372ad6618be2104eeacd3d2bd293dcc4881da
diff --git a/lib/tty/file.rb b/lib/tty/file.rb index <HASH>..<HASH> 100644 --- a/lib/tty/file.rb +++ b/lib/tty/file.rb @@ -584,7 +584,7 @@ module TTY # @api public def replace_in_file(relative_path, *args, **options, &block) check_path(relative_path) - contents = ::File.binread(relative_path) + ...
Change to fix character encoding and close issue #9
piotrmurach_tty-file
train
rb
fbdbef988f21e101e4715a9b5b8940f414a71f9f
diff --git a/example/index.js b/example/index.js index <HASH>..<HASH> 100644 --- a/example/index.js +++ b/example/index.js @@ -29,7 +29,7 @@ var randTrits = (myTrits) => {for(var i=0; i < Const.TRANSACTION_LENGTH; i++) my { var curlHash = new Curl(); curlHash.initialize(new Int32Array(Const.STATE_LENGTH)); - v...
changed easy mwm on example
iotaledger_curl.lib.js
train
js
2383fdee33d2c3763e2f9d910ae6ea9bdfafcb6a
diff --git a/src/main/java/com/treasuredata/client/TDHttpClient.java b/src/main/java/com/treasuredata/client/TDHttpClient.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/treasuredata/client/TDHttpClient.java +++ b/src/main/java/com/treasuredata/client/TDHttpClient.java @@ -165,7 +165,7 @@ public class TDHttpCl...
http client: make withHeaders public
treasure-data_td-client-java
train
java
8fada40f1d9ffea9023ca63a92d010976d4e0651
diff --git a/staff_toolbar/items.py b/staff_toolbar/items.py index <HASH>..<HASH> 100644 --- a/staff_toolbar/items.py +++ b/staff_toolbar/items.py @@ -48,14 +48,9 @@ class Group(object): title = None def __init__(self, *children, **kwargs): - self.children = children + self.children = list(chi...
Allow dotted paths in Groups too. Tried to protect against strings, but that gave really unexplainable errors messages, as it would state that "staff_toolbar.items.Foo" would not be a callable which is confusing.
edoburu_django-staff-toolbar
train
py
71f76080a2a254bb203681b3db7047e665915ade
diff --git a/cake/libs/controller/components/cookie.php b/cake/libs/controller/components/cookie.php index <HASH>..<HASH> 100644 --- a/cake/libs/controller/components/cookie.php +++ b/cake/libs/controller/components/cookie.php @@ -166,6 +166,9 @@ class CookieComponent extends Object { function initialize(&$controller...
Fixing issue where creating cookies in the beforeFilter would result in cookies with the wrong expiry time. Thanks 'RabidFire' for the patch. Fixes #<I>
cakephp_cakephp
train
php
8282a604a689bf3cbddb15dd9dd4d9696594ba90
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -57,8 +57,8 @@ module.exports = function (options, logger) { logger = logger.child( { serializers: - { req: requestSerializer - , res: logger.constructor.stdSerializers.res + { req: logger.serializers ...
Only define serializers on the child logger if they arent defined on the parent
tellnes_bunyan-middleware
train
js