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 |
|---|---|---|---|---|---|
5aee0419c88bf19bbe0f780ddefe723bab1cae27 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -707,7 +707,7 @@ function Monoxide() {
self.express.count(settings)(req, res, next);
} else if (settings.get && req.method == 'GET' && req.params.id) {
self.express.get(settings)(req, res, next);
- } else if (s... | BUGFIX: Wrong internal express middleware when querying | hash-bang_Monoxide | train | js |
c441eee6acd694553e5ed79f4014eef387b9bd9e | diff --git a/s3file/checks.py b/s3file/checks.py
index <HASH>..<HASH> 100644
--- a/s3file/checks.py
+++ b/s3file/checks.py
@@ -11,3 +11,4 @@ def storage_check(app_configs, **kwargs):
id='s3file.E001',
)
]
+ return [] | Fix deployment check return value
AssertionError: The function <function storage_check at 0x7f<I>c1a<I>> did not return a list. All functions registered with the checks registry must return a list. | codingjoe_django-s3file | train | py |
c5ff01dc585b0520fd4a79f3a6ed2375adbd410a | diff --git a/reactfx/src/main/java/org/reactfx/LatestNStream.java b/reactfx/src/main/java/org/reactfx/LatestNStream.java
index <HASH>..<HASH> 100644
--- a/reactfx/src/main/java/org/reactfx/LatestNStream.java
+++ b/reactfx/src/main/java/org/reactfx/LatestNStream.java
@@ -6,7 +6,7 @@ import java.util.List;
import org.... | Make LatestNStream package private (was public by accident). | TomasMikula_ReactFX | train | java |
cbd955e97ea823984be95d4a685d55c1dfe2b1af | diff --git a/server/peer.go b/server/peer.go
index <HASH>..<HASH> 100644
--- a/server/peer.go
+++ b/server/peer.go
@@ -105,12 +105,7 @@ func (peer *Peer) isRouteReflectorClient() bool {
}
func (peer *Peer) configuredRFlist() []bgp.RouteFamily {
- rfList := []bgp.RouteFamily{}
- for _, rf := range peer.conf.AfiSafis... | server: avoid generating rflist from config
Use saved one in TableManager | osrg_gobgp | train | go |
da65403eb50c13fd8cb7f0da61651b5548a08cf3 | diff --git a/bika/lims/browser/analysisrequest/view.py b/bika/lims/browser/analysisrequest/view.py
index <HASH>..<HASH> 100644
--- a/bika/lims/browser/analysisrequest/view.py
+++ b/bika/lims/browser/analysisrequest/view.py
@@ -104,6 +104,19 @@ class AnalysisRequestViewView(BrowserView):
... | Warning missage when you do a "full" retract on ARview | senaite_senaite.core | train | py |
31c65621ff592dda0ad3bf854db906beb8a48e9a | diff --git a/gitlab/tests/test_gitlab.py b/gitlab/tests/test_gitlab.py
index <HASH>..<HASH> 100644
--- a/gitlab/tests/test_gitlab.py
+++ b/gitlab/tests/test_gitlab.py
@@ -836,7 +836,7 @@ class TestGitlab(unittest.TestCase):
return response(200, content, headers, None, 5, request)
with HTTMock(re... | test: use lazy object in unit tests | python-gitlab_python-gitlab | train | py |
bcab9a0472a9a1bf17d709faf258aa3c6235126c | diff --git a/code/libraries/koowa/controller/abstract.php b/code/libraries/koowa/controller/abstract.php
index <HASH>..<HASH> 100644
--- a/code/libraries/koowa/controller/abstract.php
+++ b/code/libraries/koowa/controller/abstract.php
@@ -240,7 +240,11 @@ abstract class KControllerAbstract extends KObject implements KO... | Set the request variables using the magic setter to allow easy overridding on set. | joomlatools_joomlatools-framework | train | php |
05bf51a1944182c594650f0486e2dac1be470edd | diff --git a/lib/Doctrine/ODM/MongoDB/Query/Builder.php b/lib/Doctrine/ODM/MongoDB/Query/Builder.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/ODM/MongoDB/Query/Builder.php
+++ b/lib/Doctrine/ODM/MongoDB/Query/Builder.php
@@ -850,8 +850,7 @@ class Builder
/**
* Set the limit for the query.
*
- ... | Builder::limit() is only used for find and count
geoNear and mapReduce are no longer supported in Query | doctrine_mongodb-odm | train | php |
16ad6863f00062783a898fdde82b37fefb739e8d | diff --git a/src/PackagesManager.php b/src/PackagesManager.php
index <HASH>..<HASH> 100644
--- a/src/PackagesManager.php
+++ b/src/PackagesManager.php
@@ -121,7 +121,12 @@ final class PackagesManager
$this->packageConfigurationDirectory = $packageTemporaryDirectory . '/' . $packageFilesPathPart;
$this->down... | Fixed error when null is passed into json_decode function | composer-synchronizer_composer-synchronizer | train | php |
18ef97bf4e5fd175652c11cb07c4f8b0dc56e6d2 | diff --git a/nomad/structs/structs.go b/nomad/structs/structs.go
index <HASH>..<HASH> 100644
--- a/nomad/structs/structs.go
+++ b/nomad/structs/structs.go
@@ -1530,10 +1530,6 @@ func (sc *ServiceCheck) validate() error {
if sc.Command == "" {
return fmt.Errorf("script type must have a valid script path")
}
-
... | Upon further review, the Timeout needs to be validate for more than script checks.
This value is used for Consul HTTP and TCP checks. | hashicorp_nomad | train | go |
e0c21f077ec05cbb65da1740e0ef526ec629590c | diff --git a/lib/sup/sent.rb b/lib/sup/sent.rb
index <HASH>..<HASH> 100644
--- a/lib/sup/sent.rb
+++ b/lib/sup/sent.rb
@@ -22,7 +22,10 @@ class SentManager
yield f
end
- PollManager.add_messages_from @source
+ PollManager.add_messages_from(@source) do |m, o, e|
+ m.remove_label :unread
+ m... | sent messages: explicitly remove :unread label
A previous change had the effect of marking all sent messages as unread.
This reverts that behavior. | sup-heliotrope_sup | train | rb |
8b0811d2af3c75608b2a459cac05e5cdb653acfc | diff --git a/classes/Pods.php b/classes/Pods.php
index <HASH>..<HASH> 100644
--- a/classes/Pods.php
+++ b/classes/Pods.php
@@ -1081,7 +1081,7 @@ class Pods implements Iterator {
$params->single = false;
- $value = PodsForm::field_method( 'pick', 'simple_value', $params->name, $value, $this->fields[ $pa... | Values will eventually be checked with strict equality tests, force simple values to `int` | pods-framework_pods | train | php |
caddd355f7f38420317cbb6b8824d3e0978304a6 | diff --git a/packages/eslint-plugin-next/lib/index.js b/packages/eslint-plugin-next/lib/index.js
index <HASH>..<HASH> 100644
--- a/packages/eslint-plugin-next/lib/index.js
+++ b/packages/eslint-plugin-next/lib/index.js
@@ -6,6 +6,7 @@ module.exports = {
},
configs: {
recommended: {
+ plugins: ['@next/ne... | fix: add plugin to recommended eslint-plugin-next config (#<I>)
allow extending the recommended eslint-plugin-next config, without having to specify the plugin name in the plugins array. eslint does not do this automatically, see the note [here](<URL>) | zeit_next.js | train | js |
e9aada53fdfde94035f1378c34816ba84d7bed6a | diff --git a/source/main/org/freecompany/redline/header/Header.java b/source/main/org/freecompany/redline/header/Header.java
index <HASH>..<HASH> 100644
--- a/source/main/org/freecompany/redline/header/Header.java
+++ b/source/main/org/freecompany/redline/header/Header.java
@@ -23,6 +23,7 @@ public class Header extends... | Added header entry for changelog. | craigwblake_redline | train | java |
8cb51fcc265e28c24ba37479cb85c13eef8fc9fb | diff --git a/library/src/android/support/v4/app/FragmentPagerAdapter.java b/library/src/android/support/v4/app/FragmentPagerAdapter.java
index <HASH>..<HASH> 100644
--- a/library/src/android/support/v4/app/FragmentPagerAdapter.java
+++ b/library/src/android/support/v4/app/FragmentPagerAdapter.java
@@ -86,7 +86,6 @@ pub... | Do not attempt to remove participation in ViewPager. | JakeWharton_ActionBarSherlock | train | java |
cb68308abf87f85ff434b1657ce251117995cdaf | diff --git a/elasticsearch/connection/base.py b/elasticsearch/connection/base.py
index <HASH>..<HASH> 100644
--- a/elasticsearch/connection/base.py
+++ b/elasticsearch/connection/base.py
@@ -81,7 +81,7 @@ class Connection(object):
if body:
body = body.decode('utf-8')
- logger.info('> %s',... | Body in the logs should be debug-level
Fixes #<I>, thanks traxair! | elastic_elasticsearch-py | train | py |
6ffb5bddd709df2aed602ee7ead1ede9cc3a3c19 | diff --git a/src/Display/DisplayTable.php b/src/Display/DisplayTable.php
index <HASH>..<HASH> 100644
--- a/src/Display/DisplayTable.php
+++ b/src/Display/DisplayTable.php
@@ -200,16 +200,14 @@ class DisplayTable extends Display
return $this->collection;
}
- if ( ! ($this instanceof Displa... | Revert BigDataIssue | LaravelRUS_SleepingOwlAdmin | train | php |
1a5dba17d29da37852f891d0286fe6bb9cdca0de | diff --git a/Utils/String.php b/Utils/String.php
index <HASH>..<HASH> 100644
--- a/Utils/String.php
+++ b/Utils/String.php
@@ -87,8 +87,8 @@ class String
if ($readMoreText != '' && $lengthBeforeWithoutHtml > $nbCaracter) {
$text .= 'SuspensionPoint';
- $patte... | [BlogBundle] Fix bug with post shortener | claroline_Distribution | train | php |
a29f37c9a0be887ba2a23a496298c612df300b9f | diff --git a/binder.go b/binder.go
index <HASH>..<HASH> 100644
--- a/binder.go
+++ b/binder.go
@@ -162,7 +162,7 @@ var (
return v.Addr()
}
- return v
+ return reflect.Zero(typ)
},
Unbind: func(output map[string]string, name string, val interface{}) {
Unbind(output, name, reflect.ValueOf(val).El... | Fix a bug when binding to pointer | revel_revel | train | go |
67e33dc47d685c27af0657687e1be8eec924f32e | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -23,6 +23,8 @@ setup(
classifiers=[
'Development Status :: 3 - Alpha',
'Framework :: Django',
+ 'Framework :: Django :: 1.8',
+ 'Framework :: Django :: 1.9',
'Framework :: Django :... | Update classifiers in setup.py | Flimm_django-fullurl | train | py |
50c386e4d04c8ce29ee014b1197c4e373441d5be | diff --git a/spec/core_spec.rb b/spec/core_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/core_spec.rb
+++ b/spec/core_spec.rb
@@ -83,5 +83,14 @@ describe ValidateWebsite::Core do
not_found: false,
quiet: true)
end
+
+ it 'not found' do... | Make tests fail for check_static_not_found
NoMethodError: undefined method `path` for "/my-url1":String | spk_validate-website | train | rb |
ac455622e6b68117a3e4958595b291f26c015119 | diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php
index <HASH>..<HASH> 100644
--- a/DependencyInjection/Configuration.php
+++ b/DependencyInjection/Configuration.php
@@ -43,6 +43,9 @@ final class Configuration implements ConfigurationInterface
Command\DisableUse... | added request password command (#<I>) | msgphp_user-bundle | train | php,php |
162ceea69903ceccd8f1b3753efcbc77fcc7fc5b | diff --git a/lib/rules/rules.js b/lib/rules/rules.js
index <HASH>..<HASH> 100644
--- a/lib/rules/rules.js
+++ b/lib/rules/rules.js
@@ -210,9 +210,9 @@ function _getRuleList(url, list, vals, index) {
var results = [];
var _url = url.replace(/[?#].*$/, '');
var _domainUrl = domainUrl.replace(/[?#].*$/, '');
- v... | feat: Support path pattern: $~/xxx | avwo_whistle | train | js |
fbcff4b543686e63ec1268885dc368e791a04a2d | diff --git a/spec.rb b/spec.rb
index <HASH>..<HASH> 100755
--- a/spec.rb
+++ b/spec.rb
@@ -14,7 +14,11 @@ Dir[File.join(searchpath + "***/input.*")].each do |input_file|
cmd = "./bin/sassc #{input_file}"
#puts cmd
output = `#{cmd}`
+ sass_output = `sass #{input_file}`
expected_output = File.read(File.join(... | Check results against sass command. | sass_node-sass | train | rb |
fb79851c47692471ee42f206e2edd658ad301775 | diff --git a/src/Traits/ImmutableArray.php b/src/Traits/ImmutableArray.php
index <HASH>..<HASH> 100644
--- a/src/Traits/ImmutableArray.php
+++ b/src/Traits/ImmutableArray.php
@@ -56,4 +56,4 @@ trait ImmutableArray
{
return $this->toArray()[$offset] ?? null;
}
-}
\ No newline at end of file
+}
diff --... | Apply fixes from StyleCI (#<I>) | denpamusic_php-bitcoinrpc | train | php,php |
ac1c34f89e4c4a7aa735ac16e1bf579faf602499 | diff --git a/lib/rack_reverse_proxy/roundtrip.rb b/lib/rack_reverse_proxy/roundtrip.rb
index <HASH>..<HASH> 100644
--- a/lib/rack_reverse_proxy/roundtrip.rb
+++ b/lib/rack_reverse_proxy/roundtrip.rb
@@ -89,7 +89,7 @@ module RackReverseProxy
"#{uri.host}:#{uri.port}"
end
- def set_forwarded_host
+ de... | Code refactoring: Rename set_forwarded_host() to set_forwarded_headers() as all X-Forwarded-* headers are set there. | waterlink_rack-reverse-proxy | train | rb |
1e82ad99108feeb5cf7db474f21b858b24d93135 | diff --git a/pyArango/query.py b/pyArango/query.py
index <HASH>..<HASH> 100644
--- a/pyArango/query.py
+++ b/pyArango/query.py
@@ -28,9 +28,9 @@ class Query(object) :
self.rawResults = rawResults
self.response = request.json()
- if self.response["error"] :
+ if self.response["error"] and self.response["errorM... | in case there are no matches for a query, the results are = [] instead of raising a exception | ArangoDB-Community_pyArango | train | py |
2dae0c37f5ba808d932255a1578c7d17a72408a8 | diff --git a/jbpm-designer-client/src/main/resources/org/jbpm/designer/public/js/Plugins/view.js b/jbpm-designer-client/src/main/resources/org/jbpm/designer/public/js/Plugins/view.js
index <HASH>..<HASH> 100644
--- a/jbpm-designer-client/src/main/resources/org/jbpm/designer/public/js/Plugins/view.js
+++ b/jbpm-designer... | BZ<I>: size source code dialog appropriately for the size of the BP Editor canvas | kiegroup_jbpm-designer | train | js |
fe97e6a6e7d564a10c4192dc8c9d474db2a9307f | diff --git a/rest/route.go b/rest/route.go
index <HASH>..<HASH> 100644
--- a/rest/route.go
+++ b/rest/route.go
@@ -27,6 +27,10 @@ type Route struct {
// RouteObjectMethod creates a Route that points to an object method. It can be convenient to point to
// an object method instead of a function, this helper makes it e... | Declare RouteObjectMethod deprecated
This is replaced by the Method Values introduced in Go <I>
<URL> | ant0ine_go-json-rest | train | go |
b281c24a3937bb2c11d62e39ea84996ce26ef501 | diff --git a/lib/core/kernel.rb b/lib/core/kernel.rb
index <HASH>..<HASH> 100644
--- a/lib/core/kernel.rb
+++ b/lib/core/kernel.rb
@@ -82,10 +82,10 @@ module Core
fibo_function = Vm::Function.new(:fibo , [Vm::Integer , Vm::Integer] , Vm::Integer )
result = fibo_function.args[0]
int = fibo_fun... | move towards locals (not hardcoding registers) | ruby-x_rubyx | train | rb |
e4a4d15ce301eaa02443d8bc1552055f20eeeb05 | diff --git a/web/concrete/controllers/single_page/dashboard/blocks/stacks.php b/web/concrete/controllers/single_page/dashboard/blocks/stacks.php
index <HASH>..<HASH> 100644
--- a/web/concrete/controllers/single_page/dashboard/blocks/stacks.php
+++ b/web/concrete/controllers/single_page/dashboard/blocks/stacks.php
@@ -1... | Fix shown selected language when editing a localized stack
Former-commit-id: <I>c1a<I>ae<I>ce4d0be9fc3a<I>e<I>c<I>ba<I>a
Former-commit-id: <I>ebb4b<I>f9d9c6c<I>ae<I>cc4b6ff1b | concrete5_concrete5 | train | php |
a732056b0bf059849a25c6e173e09df92f1600d8 | diff --git a/mutant/models/model/__init__.py b/mutant/models/model/__init__.py
index <HASH>..<HASH> 100644
--- a/mutant/models/model/__init__.py
+++ b/mutant/models/model/__init__.py
@@ -395,7 +395,9 @@ class BaseDefinition(OrderedModelDefinitionAttribute):
)
for field, model in base_f... | Made sure BaseDefinition returns clone abstract fields. | charettes_django-mutant | train | py |
b8e56d5dff5d5ea973943c20c27ea5d8f9195c77 | diff --git a/tests/__init__.py b/tests/__init__.py
index <HASH>..<HASH> 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -18,10 +18,6 @@ class Subitem(Item):
pass
-def html_equivalent(a, b):
- return html_reduce(a) == html_reduce(b)
-
-
def html_reduce(s):
return ''.join(l.strip() for l in s.... | Improve HTML equivalence testing to help debugging tests | plumdog_flask_table | train | py |
430a5891ed4614b6ba2066f5597da1929b628898 | diff --git a/webthing/server.py b/webthing/server.py
index <HASH>..<HASH> 100644
--- a/webthing/server.py
+++ b/webthing/server.py
@@ -643,16 +643,13 @@ class WebThingServer:
def start(self):
"""Start listening for incoming connections."""
- url = '{}://{}:{}/'.format('https' if self.app.is_tls e... | Switch mDNS service type to _webthing._tcp. (#<I>) | mozilla-iot_webthing-python | train | py |
924c0c557300d98a61defb40df8ed85889c02b29 | diff --git a/actions/actions.js b/actions/actions.js
index <HASH>..<HASH> 100644
--- a/actions/actions.js
+++ b/actions/actions.js
@@ -2,6 +2,8 @@ export function get(payload) {
return { type: 'SDK', payload: { method: 'GET', ...payload } };
}
+// contrary to the other methods this does not bear the exact name of... | docs: add clarification about function name | commercetools_merchant-center-application-kit | train | js |
b85ab9103b1f3bbd81d8dc351426d78d98540a60 | diff --git a/changelog.rb b/changelog.rb
index <HASH>..<HASH> 100755
--- a/changelog.rb
+++ b/changelog.rb
@@ -75,16 +75,18 @@ if args["--complete"] && repo.tags.count > 0
sorted_tags = repo.tags.sort { |t1, t2| t1.target.time <=> t2.target.time }
changeLogs = []
sorted_tags.each_with_index do |tag, index|
+ ... | fix(log): complete log should work correctly now | iv-mexx_git-releaselog | train | rb |
d6dee0815e31114d0be2a0e65315ce6d78f7010c | diff --git a/audio/internal/driver/driver_android.go b/audio/internal/driver/driver_android.go
index <HASH>..<HASH> 100644
--- a/audio/internal/driver/driver_android.go
+++ b/audio/internal/driver/driver_android.go
@@ -255,17 +255,16 @@ func NewPlayer(sampleRate, channelNum, bytesPerSample int) (*Player, error) {
}
... | audio: Bug fix: Avoid deadlock | hajimehoshi_ebiten | train | go |
81c8afa99a225fde606f012b7a2c2f08c13704d1 | diff --git a/spec/unit/util/selinux_spec.rb b/spec/unit/util/selinux_spec.rb
index <HASH>..<HASH> 100755
--- a/spec/unit/util/selinux_spec.rb
+++ b/spec/unit/util/selinux_spec.rb
@@ -77,7 +77,7 @@ describe Puppet::Util::SELinux do
selinux_label_support?('/mnt/nfs/testfile').should be_false
end
- it "(#... | Skip symbolic link demanding test on Windows
One of the SELinux tests I wrote creates a symbolic link, to ensure
correct behaviour. Windows Ruby doesn't support symlinks, and so failed; this
test can simply be skipped on that platform. | puppetlabs_puppet | train | rb |
d845919c60c6263b84fa3cd97c11679bd6f22f09 | diff --git a/app/controllers/renalware/letters/contacts_controller.rb b/app/controllers/renalware/letters/contacts_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/renalware/letters/contacts_controller.rb
+++ b/app/controllers/renalware/letters/contacts_controller.rb
@@ -55,7 +55,7 @@ module Renalware
... | Add 'notes' to controller | airslie_renalware-core | train | rb |
2fda2e05cf22763a62d7e48597499167884d36a8 | diff --git a/udata/features/territories/commands.py b/udata/features/territories/commands.py
index <HASH>..<HASH> 100644
--- a/udata/features/territories/commands.py
+++ b/udata/features/territories/commands.py
@@ -42,7 +42,8 @@ def load_logos(filename):
f.extractall(tmp.root)
log.info('Moving to th... | Fix the command related to logos extraction, refs #<I> | opendatateam_udata | train | py |
e03eb574f4926b9f6a2594a09239a2b2f529c4d9 | diff --git a/middleware/permissions.js b/middleware/permissions.js
index <HASH>..<HASH> 100644
--- a/middleware/permissions.js
+++ b/middleware/permissions.js
@@ -1,4 +1,5 @@
const util = require('../util')
+let authenticatedRoleExists
async function addRolePermissions (req, roles) {
req.permissions = req.permis... | prevent this error from spamming error handler | thomas4019_expressa | train | js |
a23e979c6c1095c9e8adb0c3cb5bbec10e26f023 | diff --git a/lib/lookup_by/association.rb b/lib/lookup_by/association.rb
index <HASH>..<HASH> 100644
--- a/lib/lookup_by/association.rb
+++ b/lib/lookup_by/association.rb
@@ -47,7 +47,7 @@ module LookupBy
@lookups ||= []
@lookups << field
- class_eval <<-METHODS
+ class_eval <<-METHODS... | set file and line for class_eval | companygardener_lookup_by | train | rb |
50325e15360c7a8d173bec3ae53f57d9d9719cb7 | diff --git a/lib/with_advisory_lock/mysql.rb b/lib/with_advisory_lock/mysql.rb
index <HASH>..<HASH> 100644
--- a/lib/with_advisory_lock/mysql.rb
+++ b/lib/with_advisory_lock/mysql.rb
@@ -14,7 +14,7 @@ module WithAdvisoryLock
# 0 if the attempt timed out (for example, because another client has
# previousl... | Time as float making instant request on GET_LOCK | ClosureTree_with_advisory_lock | train | rb |
b2781ddeb821737d0120e544029b1e4fced693e0 | diff --git a/lib/flipper/adapters/http.rb b/lib/flipper/adapters/http.rb
index <HASH>..<HASH> 100644
--- a/lib/flipper/adapters/http.rb
+++ b/lib/flipper/adapters/http.rb
@@ -18,7 +18,8 @@ module Flipper
basic_auth_username: options[:basic_auth_username],
basi... | Allow passing debug to client from http adapter | jnunemaker_flipper | train | rb |
6b7fe344827ddf49c40d165d6e0ff09013ee5716 | diff --git a/edxval/migrations/0002_data__default_profiles.py b/edxval/migrations/0002_data__default_profiles.py
index <HASH>..<HASH> 100644
--- a/edxval/migrations/0002_data__default_profiles.py
+++ b/edxval/migrations/0002_data__default_profiles.py
@@ -16,16 +16,14 @@ DEFAULT_PROFILES = [
def create_default_profiles... | Remove uses of using() from migrations
This hardcoded the db_alias fetched from schema_editor and forces django
to try and migrate any second database you use, rather than routing to
the default database. In testing a build from scratch, these do not
appear needed.
Using using() prevents us from using multiple datab... | edx_edx-val | train | py |
1a26a15bd47345dcbae5d118cea58311a30a2b05 | diff --git a/src/Form/FormControl.js b/src/Form/FormControl.js
index <HASH>..<HASH> 100644
--- a/src/Form/FormControl.js
+++ b/src/Form/FormControl.js
@@ -178,7 +178,10 @@ class FormControl extends React.Component<ProvidedProps & Props, State> {
};
handleBlur = event => {
- if (this.props.onBlur) {
+ // T... | Fixed issue #<I> (#<I>) | mui-org_material-ui | train | js,js |
1d37315f0a3aec4bc5655a9d40b155e0656d88a7 | diff --git a/session/session.js b/session/session.js
index <HASH>..<HASH> 100644
--- a/session/session.js
+++ b/session/session.js
@@ -2,8 +2,9 @@ var connect = require('can-connect');
var errors = require('feathers-errors');
var authAgent = require('feathers-authentication-popups').authAgent;
var decode = require('... | Fix imports to be more specific. | canjs_can-connect-feathers | train | js |
10ff960a65ac0a97542546ebc4b55b2407367914 | diff --git a/pymongo/connection.py b/pymongo/connection.py
index <HASH>..<HASH> 100644
--- a/pymongo/connection.py
+++ b/pymongo/connection.py
@@ -392,6 +392,18 @@ class Connection(object): # TODO support auth for pooling
return self.__port
@property
+ def nodes(self):
+ """List of all known ... | add Connection.nodes property to list all known nodes | mongodb_mongo-python-driver | train | py |
3760d81dcc1e167dc602b4cbf572f17ce2c21463 | diff --git a/src/sources/geojson.js b/src/sources/geojson.js
index <HASH>..<HASH> 100644
--- a/src/sources/geojson.js
+++ b/src/sources/geojson.js
@@ -83,6 +83,9 @@ export class GeoJSONSource extends NetworkSource {
}
else {
f.geometry = decodeMultiPol... | non-tiled sources: skip polygons that couldn't be decoded (e.g. degenerate/zero-area) | tangrams_tangram | train | js,js |
bfc5d225a6b03ae0708b97494291e64968c54e19 | diff --git a/test/helpers/data_test.js b/test/helpers/data_test.js
index <HASH>..<HASH> 100644
--- a/test/helpers/data_test.js
+++ b/test/helpers/data_test.js
@@ -38,12 +38,27 @@ describe('prop', function() {
describe('stringify', function() {
describe('{{stringify filepath}}', function() {
- it('should return... | Add test for passing an object to stringify | helpers_handlebars-helpers | train | js |
aeb0bd5c7ac161346a567f22718c72f3a6bd6529 | diff --git a/code/plugins/system/joomlatools/script.php b/code/plugins/system/joomlatools/script.php
index <HASH>..<HASH> 100644
--- a/code/plugins/system/joomlatools/script.php
+++ b/code/plugins/system/joomlatools/script.php
@@ -332,7 +332,7 @@ class PlgSystemJoomlatoolsInstallerScript
}
if (class... | Re-instantiate beta program check | joomlatools_joomlatools-framework | train | php |
3e89535bf31261bfef1c2ee250d2fc9919318204 | diff --git a/lib/massimo/templates/site/config.rb b/lib/massimo/templates/site/config.rb
index <HASH>..<HASH> 100644
--- a/lib/massimo/templates/site/config.rb
+++ b/lib/massimo/templates/site/config.rb
@@ -3,7 +3,7 @@ require 'sprockets'
# This is an example configuration File
# Look here for all the available opt... | Fixing URL in generated config file | petebrowne_massimo | train | rb |
c4595890340e3bd3e52b6400cdd7e9eda74b4e23 | diff --git a/Model/AbstractModel.php b/Model/AbstractModel.php
index <HASH>..<HASH> 100755
--- a/Model/AbstractModel.php
+++ b/Model/AbstractModel.php
@@ -219,8 +219,8 @@ abstract class AbstractModel
} elseif (class_exists($this->getInheritance()) && stripos($this->getInheritance(), Generator::getPackageName()... | allow to define proper extends class name,
from now we don't automatically extends from generic WsdlClass | WsdlToPhp_PackageGenerator | train | php |
059444bc8e6a097d60dba71a3880413bb9c1019b | diff --git a/host/scan_fei4_self_trigger.py b/host/scan_fei4_self_trigger.py
index <HASH>..<HASH> 100644
--- a/host/scan_fei4_self_trigger.py
+++ b/host/scan_fei4_self_trigger.py
@@ -82,7 +82,7 @@ class FEI4SelfTriggerScan(ScanBase):
time_from_last_iteration = time.time() - last_iteration
... | BUG: fix tuple | SiLab-Bonn_pyBAR | train | py |
b46914a7206c7815c091417547655024651e8eba | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -131,7 +131,7 @@ EngineTools.prototype.entrypoint = function (username, project, instance, host,
}
return (username ? username + "_" : "")
- + [project, instance].join("_")
+ + [pro... | Fixed #<I>. Added the host in the entrypoint value | jillix_flow-api | train | js |
a733bb027970a8d315bbd3988f8c67bbc6585e21 | diff --git a/src/Charcoal/Property/EmailProperty.php b/src/Charcoal/Property/EmailProperty.php
index <HASH>..<HASH> 100644
--- a/src/Charcoal/Property/EmailProperty.php
+++ b/src/Charcoal/Property/EmailProperty.php
@@ -47,6 +47,9 @@ class EmailProperty extends StringProperty
*/
public function validateEmail(... | Add a validation check on EmailProperty to not validate email if property is allowNull and is not required. (prevent filter_var to return false) | locomotivemtl_charcoal-property | train | php |
18bfdd072be8f53182dc355aa91de3cbca21b323 | diff --git a/bika/lims/tests/test_limitdetections.py b/bika/lims/tests/test_limitdetections.py
index <HASH>..<HASH> 100644
--- a/bika/lims/tests/test_limitdetections.py
+++ b/bika/lims/tests/test_limitdetections.py
@@ -32,6 +32,7 @@ class TestLimitDetections(BikaFunctionalTestCase):
{'min': '0.0', ... | Take into account the new functionality in the previous test | senaite_senaite.core | train | py |
f8e3e1670d8f826eb7cbedf70f26712f7b3f7e7c | diff --git a/ipyvolume/test_all.py b/ipyvolume/test_all.py
index <HASH>..<HASH> 100644
--- a/ipyvolume/test_all.py
+++ b/ipyvolume/test_all.py
@@ -116,7 +116,7 @@ def test_bokeh():
scatter = p3.scatter(x, y, z)
tools = "wheel_zoom,box_zoom,box_select,lasso_select,help,reset,"
- p = figure(title="E Lz spa... | test: fix: dont use the webgl backend, bokeh changed that api | maartenbreddels_ipyvolume | train | py |
f8b60829524687862aa6fd9e6ae6ddbd2d4f5d63 | diff --git a/obdalib-core/src/main/java/it/unibz/inf/ontop/model/impl/OBDADataFactoryImpl.java b/obdalib-core/src/main/java/it/unibz/inf/ontop/model/impl/OBDADataFactoryImpl.java
index <HASH>..<HASH> 100644
--- a/obdalib-core/src/main/java/it/unibz/inf/ontop/model/impl/OBDADataFactoryImpl.java
+++ b/obdalib-core/src/ma... | Disabled the creation of a delimiter OR(true,true) tom for left joins in OBDADataFactoryImpl.getSPARQLLeftJoin().
It was apparently not needed anymore (for the explanation, see the behavior of PullOutEqualityNormalizerImpl.splitLeftJoinSubAtoms()). | ontop_ontop | train | java |
3bc5cbac0f8ebe0f9437cbd408c09e09c5c72814 | diff --git a/py2/h2o_fc.py b/py2/h2o_fc.py
index <HASH>..<HASH> 100644
--- a/py2/h2o_fc.py
+++ b/py2/h2o_fc.py
@@ -65,7 +65,7 @@ def create_node(possMember, h2oNodes, expectedSize, hdfsSetup):
# print "http_addr:", http_addr, "port:", port
possMemberList = []
- gc = do_json_request(http_addr, port, '/1/C... | Fix some py2 test mismatch with new json | h2oai_h2o-3 | train | py |
526c0c0f073a544425ef76dbb82bf6f6f4c1e998 | diff --git a/go/vt/servenv/buildinfo.go b/go/vt/servenv/buildinfo.go
index <HASH>..<HASH> 100644
--- a/go/vt/servenv/buildinfo.go
+++ b/go/vt/servenv/buildinfo.go
@@ -88,6 +88,7 @@ func (v *versionInfo) MySQLVersion() string {
}
func init() {
+ flag.Parse()
t, err := time.Parse(time.UnixDate, buildTime)
if buil... | make sure flags have been parsed before trying to read them | vitessio_vitess | train | go |
e04483d0270033ff0a47192e5884bc28c5b6a303 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -28,7 +28,7 @@ CompactToStylishStream.prototype._flush = function (cb) {
var output = processResults(jsonResults)
this.push(output)
- this.exitCode = output === '' ? 0 : -1
+ this.exitCode = output === '' ? 0 : 1
... | Use the same exit code as standard (1)
Fixes: <URL> | standard_snazzy | train | js |
81d10fb830984b8763c210a072160fd0489be060 | diff --git a/rake-tasks/crazy_fun/mappings/java.rb b/rake-tasks/crazy_fun/mappings/java.rb
index <HASH>..<HASH> 100644
--- a/rake-tasks/crazy_fun/mappings/java.rb
+++ b/rake-tasks/crazy_fun/mappings/java.rb
@@ -318,8 +318,8 @@ module CrazyFunJava
:optimize => true,
:debug ... | crazy fun back to <I> for now (so it works in ci), partial revert of 0a<I>f0e<I>d5f4b<I>cb<I>e<I>d5fd<I>aa | SeleniumHQ_selenium | train | rb |
f02680dc738dd4276507ea9d796a8a5b0aa91c87 | diff --git a/lib/generators/website.js b/lib/generators/website.js
index <HASH>..<HASH> 100644
--- a/lib/generators/website.js
+++ b/lib/generators/website.js
@@ -134,7 +134,9 @@ Generator.prototype.writeParsedFile = function(page) {
that.book.log.info.ln("write parsed file", page.path, "to", relativeOutput);
... | Transform page after hook "page" | GitbookIO_gitbook | train | js |
cfa20586287509911a4cfbf8a731c07a0d0ccb47 | diff --git a/Certificate.php b/Certificate.php
index <HASH>..<HASH> 100644
--- a/Certificate.php
+++ b/Certificate.php
@@ -40,14 +40,6 @@ class Certificate
}
/**
- * @return string
- */
- public function __toString()
- {
- return $this->certificatePEM;
- }
-
- /**
* @return ... | Remove Certificate::__toString(), Command validation failure warning -> error | acmephp_ssl | train | php |
e71e21953d9ec544e799a552e5bc231b70a45bf4 | diff --git a/masonite/drivers/QueueAmqpDriver.py b/masonite/drivers/QueueAmqpDriver.py
index <HASH>..<HASH> 100644
--- a/masonite/drivers/QueueAmqpDriver.py
+++ b/masonite/drivers/QueueAmqpDriver.py
@@ -109,7 +109,10 @@ class QueueAmqpDriver(BaseQueueDriver, QueueContract, HasColoredCommands):
except Attri... | fixed unicode issue with amqp driver | MasoniteFramework_masonite | train | py |
d0e748ff3bfca39714798d434b42d7d41c4b1fe9 | diff --git a/src/main/java/org/primefaces/component/datatable/feature/FilterFeature.java b/src/main/java/org/primefaces/component/datatable/feature/FilterFeature.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/primefaces/component/datatable/feature/FilterFeature.java
+++ b/src/main/java/org/primefaces/componen... | Fixed filtering bug, use correct expression | primefaces_primefaces | train | java |
11fb1529734b13e68ff2da09bda5f53cd1f4ef5c | diff --git a/code/bulkloader/BetterBulkLoader.php b/code/bulkloader/BetterBulkLoader.php
index <HASH>..<HASH> 100644
--- a/code/bulkloader/BetterBulkLoader.php
+++ b/code/bulkloader/BetterBulkLoader.php
@@ -11,11 +11,6 @@
*/
class BetterBulkLoader extends BulkLoader {
- /**
- * Bulk loading source
- * @var BulkL... | NEW: allow running a callback on every record before write | burnbright_silverstripe-importexport | train | php |
338ba7dc059a8a2ae12eb82e173591dc5edfdcbe | diff --git a/python/setup.py b/python/setup.py
index <HASH>..<HASH> 100755
--- a/python/setup.py
+++ b/python/setup.py
@@ -108,7 +108,7 @@ if platform.system() == 'Darwin':
setup(
name='neuroglancer',
- version='1.1.5',
+ version='1.1.6',
description='Python data backend for neuroglancer, a WebGL-bas... | chore(python): bump package version to <I> | google_neuroglancer | train | py |
24ae97e407476e5658fb0f832778a092b10885a9 | diff --git a/src/OcraCachedViewResolver/View/Resolver/LazyResolver.php b/src/OcraCachedViewResolver/View/Resolver/LazyResolver.php
index <HASH>..<HASH> 100644
--- a/src/OcraCachedViewResolver/View/Resolver/LazyResolver.php
+++ b/src/OcraCachedViewResolver/View/Resolver/LazyResolver.php
@@ -23,7 +23,7 @@ use Zend\View\R... | Minor docblock fixes to the lazy resolver description | Ocramius_OcraCachedViewResolver | train | php |
66e66f86b32f35487d87ff4bd11f84fa74b02e32 | diff --git a/src/Administration/Resources/app/administration/src/module/sw-customer/component/sw-customer-base-form/index.js b/src/Administration/Resources/app/administration/src/module/sw-customer/component/sw-customer-base-form/index.js
index <HASH>..<HASH> 100644
--- a/src/Administration/Resources/app/administration... | Remove invalid service injections from customer base form | shopware_platform | train | js |
24d61b1d26b26a8470587ed19214b9516e4c9b07 | diff --git a/lfsapi/proxy_test.go b/lfsapi/proxy_test.go
index <HASH>..<HASH> 100644
--- a/lfsapi/proxy_test.go
+++ b/lfsapi/proxy_test.go
@@ -20,7 +20,7 @@ func TestHttpsProxyFromGitConfig(t *testing.T) {
require.Nil(t, err)
proxyURL, err := proxyFromClient(c)(req)
- assert.Equal(t, "proxy-from-env:8080", proxyU... | Fix proxy unit tests.
This test is failing in all environments, but only Travis is reporting
the error correctly in one of the builds. | git-lfs_git-lfs | train | go |
8cac1db3a842a1c3244f3d7dff5dce094d2bbeb3 | diff --git a/lib/acts-as-messageable/model.rb b/lib/acts-as-messageable/model.rb
index <HASH>..<HASH> 100644
--- a/lib/acts-as-messageable/model.rb
+++ b/lib/acts-as-messageable/model.rb
@@ -134,6 +134,7 @@ module ActsAsMessageable
current_user = self
if message.participant?(current_user)
+ ... | Bug: =>{:ID => Na,:message => "While reply to message that should be opened"} | LTe_acts-as-messageable | train | rb |
ec79d3e4282f646a7fa6536b78cfe4f8c6cad08f | diff --git a/lib/blocklib.php b/lib/blocklib.php
index <HASH>..<HASH> 100644
--- a/lib/blocklib.php
+++ b/lib/blocklib.php
@@ -312,6 +312,13 @@ function blocks_find_instance($instanceid, $blocksarray) {
return false;
}
+// Simple entry point for anyone that wants to use blocks
+function blocks_setup(&$PAGE) {
+... | One-line-setup function for using blocks in a page. | moodle_moodle | train | php |
419e5b95b4ff83e3ac718bcc3f154db79a890bed | diff --git a/test/expectation_test.php b/test/expectation_test.php
index <HASH>..<HASH> 100644
--- a/test/expectation_test.php
+++ b/test/expectation_test.php
@@ -197,7 +197,7 @@
function TestOfMethodExistence() {
$this->UnitTestCase();
}
- function testHasMethod() {
+ functi... | Switched logic on method existence expectation | simpletest_simpletest | train | php |
f20d2ffa4d7768c08284a43a1952aa1fe857faa6 | diff --git a/src/mousetracker.js b/src/mousetracker.js
index <HASH>..<HASH> 100644
--- a/src/mousetracker.js
+++ b/src/mousetracker.js
@@ -2190,16 +2190,10 @@
function onTouchCancel( tracker, event ) {
var i,
touchCount = event.changedTouches.length,
- gPoints = [];
-
- for ... | Fixed issue in iOS devices that would cause all touch events to fail after a Multitasking Gesture was triggered. The fix works by aborting all touch contacts after a touch has been cancelled, since the Multitasking Gestures in iOS trigger the TouchCancel event on those touches which were active.. | openseadragon_openseadragon | train | js |
e4b8fe85a1dec690722177215800a0e7ba633812 | diff --git a/src/Composer/Command/InitCommand.php b/src/Composer/Command/InitCommand.php
index <HASH>..<HASH> 100644
--- a/src/Composer/Command/InitCommand.php
+++ b/src/Composer/Command/InitCommand.php
@@ -171,6 +171,12 @@ EOT
// package names must be in the format foo/bar
$name = $na... | Check --name value if it's passed in, as that's not validated anywhere | mothership-ec_composer | train | php |
122a8169c27d370e936411dfca9dc20b5b4f7735 | diff --git a/dev/com.ibm.ws.security.spnego.fat.common/fat/src/com/ibm/ws/security/spnego/fat/config/KdcHelper.java b/dev/com.ibm.ws.security.spnego.fat.common/fat/src/com/ibm/ws/security/spnego/fat/config/KdcHelper.java
index <HASH>..<HASH> 100644
--- a/dev/com.ibm.ws.security.spnego.fat.common/fat/src/com/ibm/ws/secu... | Fix build break <I> by waiting for exit status signal instead of channel close signal. | OpenLiberty_open-liberty | train | java |
ac763c3e6e185d4345e18c019aa5ae184d4317bd | diff --git a/src/server/auth/server/auth_test.go b/src/server/auth/server/auth_test.go
index <HASH>..<HASH> 100644
--- a/src/server/auth/server/auth_test.go
+++ b/src/server/auth/server/auth_test.go
@@ -2773,15 +2773,10 @@ func TestS3GatewayAuthRequests(t *testing.T) {
}
// generate auth credentials
- alice := tu... | Shorten TestS3GatewayAuthRequest slightly | pachyderm_pachyderm | train | go |
62347d49abcb2edeb4e649cfb7f2f9cdc403c40e | diff --git a/lib/anyway/rails/config.rb b/lib/anyway/rails/config.rb
index <HASH>..<HASH> 100644
--- a/lib/anyway/rails/config.rb
+++ b/lib/anyway/rails/config.rb
@@ -62,7 +62,7 @@ module Anyway
creds_config.deep_merge!(::Rails.application.credentials.public_send(name) || {})
- creds_config.deep_mer... | fix: bug with missing local credentials
Fixes #<I> | palkan_anyway_config | train | rb |
695c0a9f41f4d8eb23ff0fb67227c286ba8ef825 | diff --git a/Lite.php b/Lite.php
index <HASH>..<HASH> 100644
--- a/Lite.php
+++ b/Lite.php
@@ -681,7 +681,7 @@ class Cache_Lite
$root = $this->_cacheDir;
for ($i=0 ; $i<$this->_hashedDirectoryLevel ; $i++) {
$root = $root . 'cache_' . substr($hash, 0, $... | Request #<I> : umask on mkdir with hashedDirectoryLevel
- Using Cache_Lite with hashedDirectoryLevel,
permittion of the created directory was <I> fixed.
- The permittion of cache directory is now referred to
the umask value of the OS.
(thanks to yuw at php dot net)
git-svn-id: <URL> | pear_Cache_Lite | train | php |
486ce79988f3367f40d67e751f300d6f445b6ba7 | diff --git a/Neos.Neos/Classes/Controller/Module/Administration/UsersController.php b/Neos.Neos/Classes/Controller/Module/Administration/UsersController.php
index <HASH>..<HASH> 100644
--- a/Neos.Neos/Classes/Controller/Module/Administration/UsersController.php
+++ b/Neos.Neos/Classes/Controller/Module/Administration/U... | Update Neos.Neos/Classes/Controller/Module/Administration/UsersController.php | neos_neos-development-collection | train | php |
a3cc8cacf6fb06084c1d69a7156a94b975f20059 | diff --git a/compiler/js/generator.py b/compiler/js/generator.py
index <HASH>..<HASH> 100644
--- a/compiler/js/generator.py
+++ b/compiler/js/generator.py
@@ -157,7 +157,11 @@ class generator(object):
base_class[name] = base_type
if name not in code:
- code[name] = self.generate_component(component)
+ ... | if code generation fails, try to insert component name to make error more obvious | pureqml_qmlcore | train | py |
6b17eac8948f77b0e523a72d306834a55eee7b68 | diff --git a/lib/shell.js b/lib/shell.js
index <HASH>..<HASH> 100644
--- a/lib/shell.js
+++ b/lib/shell.js
@@ -11,7 +11,7 @@ function escape(input) {
}
function quote(input) {
- return '"' + escape(input) + '"';
+ return '"' + exports.escape(input) + '"';
}
// --- | Escape is referenced from the exports. | websecurify_node-roost | train | js |
b1768f0fb8c92ee26ac89d0c42cb3dffa9d5b05c | diff --git a/lib/rdl/types/nominal.rb b/lib/rdl/types/nominal.rb
index <HASH>..<HASH> 100644
--- a/lib/rdl/types/nominal.rb
+++ b/lib/rdl/types/nominal.rb
@@ -40,7 +40,16 @@ module RDL::Type
end
def to_s
- return @name
+ if @name.start_with? '#<Class:'
+ if @name['('] # Rails models such as ... | simplify Rails model names in NominalType#to_s. ex. Talk(id, name, ...) becomes Talk | plum-umd_rdl | train | rb |
60f167f8d15af3b840802b35d5f9919b0377e4b7 | diff --git a/main.go b/main.go
index <HASH>..<HASH> 100644
--- a/main.go
+++ b/main.go
@@ -5,6 +5,10 @@ import "github.com/stellar/go-stellar-base/xdr"
//go:generate rake xdr:update
//go:generate go fmt ./xdr
+// One is the value of one whole unit of currency. Stellar uses 7 fixed digits
+// for fractional values,... | Add One constant, for easier "amount" creation | stellar_go-stellar-base | train | go |
0c4c82740dde39a45f52cfb5ff93ea881a004cbf | diff --git a/core/commands/log.go b/core/commands/log.go
index <HASH>..<HASH> 100644
--- a/core/commands/log.go
+++ b/core/commands/log.go
@@ -22,6 +22,11 @@ var LogCmd = &cmds.Command{
ShortDescription: `
'ipfs log' contains utility commands to affect or read the logging
output of a running daemon.
+
+There are a... | Add information about logging env. variables (#<I>)
License: MIT | ipfs_go-ipfs | train | go |
0e1bc6690d5ee88c81a5059e624ff3813ab3a2da | diff --git a/src/devtools/portfolio-manager/src/features/portfolio-manager.js b/src/devtools/portfolio-manager/src/features/portfolio-manager.js
index <HASH>..<HASH> 100644
--- a/src/devtools/portfolio-manager/src/features/portfolio-manager.js
+++ b/src/devtools/portfolio-manager/src/features/portfolio-manager.js
@@ -2... | fix outputFiles in portfolio manager project metadata so it includes a proper relative pathname | skypager_skypager | train | js |
78cecd0ca6425ba7534ef1c849312e1880eec9de | diff --git a/src/com/tapsterrock/mspdi/MSPDIWriter.java b/src/com/tapsterrock/mspdi/MSPDIWriter.java
index <HASH>..<HASH> 100644
--- a/src/com/tapsterrock/mspdi/MSPDIWriter.java
+++ b/src/com/tapsterrock/mspdi/MSPDIWriter.java
@@ -933,6 +933,10 @@ public final class MSPDIWriter extends AbstractProjectWriter
{... | Updated to fix a null pointer exception. | joniles_mpxj | train | java |
60c41b110712c166050636002b490e960d36b81c | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -30,6 +30,6 @@ setup(name='mongolock',
zip_safe=False,
tests_require=['pytest>=2.6.0'],
install_requires=[
- "mongodb>=2.4.2",
+ "pymongo>=2.6.0",
]
) | setup.py install_requires fixed | lorehov_mongolock | train | py |
6c86eb9712a87f778ada2129d826c324790df6f8 | diff --git a/java-profiler/synth.py b/java-profiler/synth.py
index <HASH>..<HASH> 100644
--- a/java-profiler/synth.py
+++ b/java-profiler/synth.py
@@ -28,6 +28,3 @@ for version in versions:
)
java.common_templates()
-
-# TODO: Remove this before publishing to the staging repository
-java.custom_templates(["java_l... | chore: remove README gen from primary synth (#<I>) | googleapis_google-cloud-java | train | py |
72ee3d1894d366f4842ae614bdee754794f98a07 | diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb
index <HASH>..<HASH> 100644
--- a/config/initializers/devise.rb
+++ b/config/initializers/devise.rb
@@ -90,10 +90,6 @@ Devise.setup do |config|
# Time interval to unlock the account if :time is enabled as unlock_strategy.
# config.unlock_i... | Remove token_authentication_key, given it is now deprecated | spree_spree_auth_devise | train | rb |
bb39ca72b57ad58ad1d5f05f2655fdc772151198 | diff --git a/src/client/client.js b/src/client/client.js
index <HASH>..<HASH> 100644
--- a/src/client/client.js
+++ b/src/client/client.js
@@ -132,7 +132,7 @@ class _ClientImpl {
isActive = false;
}
if (
- !this.game.flow.canMakeMove(state.G, state.ctx, {
+ !this.game.flow.canPlayer... | fix bug that was causing isActive to return false | nicolodavis_boardgame.io | train | js,js |
72a6ed12bf75309ce41ecb3ea4b1a202445542cc | diff --git a/hazelcast-client/src/test/java/com/hazelcast/client/standalone/ClientMapStandaloneTest.java b/hazelcast-client/src/test/java/com/hazelcast/client/standalone/ClientMapStandaloneTest.java
index <HASH>..<HASH> 100644
--- a/hazelcast-client/src/test/java/com/hazelcast/client/standalone/ClientMapStandaloneTest.... | Switched unittest to serial mode to prevent thread switches | hazelcast_hazelcast | train | java |
ddd0fcc0d44e1808c814c2e4444b91d5ef361af9 | diff --git a/flask_oauthlib/client.py b/flask_oauthlib/client.py
index <HASH>..<HASH> 100644
--- a/flask_oauthlib/client.py
+++ b/flask_oauthlib/client.py
@@ -84,7 +84,7 @@ class OAuth(object):
_etree = None
-def get_etree(): # progm: no cover
+def get_etree(): # pragma: no cover
global _etree
if _etre... | mark no cover for get etree | lepture_flask-oauthlib | train | py |
e1266eaf4bdad8c9eac68ca2751d2316025752cd | diff --git a/lib/classes/message/manager.php b/lib/classes/message/manager.php
index <HASH>..<HASH> 100644
--- a/lib/classes/message/manager.php
+++ b/lib/classes/message/manager.php
@@ -86,7 +86,7 @@ class manager {
FROM {message_conversation_members} mcm
JOIN {user} u
... | MDL-<I> messaging: Prefix field with the table alias | moodle_moodle | train | php |
fee26d24ada8aabf4bfbc94070850996b8415efb | diff --git a/src/Javanile/SchemaDB/DatabaseCommon.php b/src/Javanile/SchemaDB/DatabaseCommon.php
index <HASH>..<HASH> 100644
--- a/src/Javanile/SchemaDB/DatabaseCommon.php
+++ b/src/Javanile/SchemaDB/DatabaseCommon.php
@@ -248,6 +248,7 @@ class DatabaseCommon extends SchemaNotation
}
/**
+ * Debug mode sette... | debug attribute for db aligned | javanile_moldable | train | php |
b02fae4aab3f47e0725648eb732a3d66de984c34 | diff --git a/actstream/models.py b/actstream/models.py
index <HASH>..<HASH> 100644
--- a/actstream/models.py
+++ b/actstream/models.py
@@ -62,6 +62,15 @@ class ActionManager(models.Manager):
Q(target_content_type = ContentType.objects.get_for_model(model)) |
Q(action_object_content_type = Cont... | add a stream_for_target method so you can easily show activity on a target object | justquick_django-activity-stream | train | py |
6ed98f4102f53907f74520fc2b7a6a2880142790 | diff --git a/src/ElephantOnCouch/Result/QueryResult.php b/src/ElephantOnCouch/Result/QueryResult.php
index <HASH>..<HASH> 100644
--- a/src/ElephantOnCouch/Result/QueryResult.php
+++ b/src/ElephantOnCouch/Result/QueryResult.php
@@ -45,6 +45,15 @@ class QueryResult implements \IteratorAggregate, \Countable, \ArrayAccess ... | added the method isEmpty() | dedalozzo_eoc-client | train | php |
607236d9a453ab91351bec15af502ac07b3a9304 | diff --git a/shoebot/data/typography.py b/shoebot/data/typography.py
index <HASH>..<HASH> 100644
--- a/shoebot/data/typography.py
+++ b/shoebot/data/typography.py
@@ -45,6 +45,7 @@ if GI:
else:
_UNSAFE_cairocffi_context_to_pycairo = None
+gi.require_version('PangoCairo', '1.0')
from gi.repository import Pango,... | Add minimum versions for import to silence complaints at startup. | shoebot_shoebot | train | py,py |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.